Getting Started
Installing the CLI
How to download and install the NextPay CLI on your system
Installing the CLI
The NextPay CLI is distributed as a standalone binary. Download the latest release for your platform from GitHub:
Linux (amd64):
curl -L -o nextpay https://github.com/kapitolph/nextpay-cli/releases/latest/download/nextpay-linux-amd64
chmod +x nextpay
sudo mv nextpay /usr/local/bin/Linux (arm64):
curl -L -o nextpay https://github.com/kapitolph/nextpay-cli/releases/latest/download/nextpay-linux-arm64
chmod +x nextpay
sudo mv nextpay /usr/local/bin/macOS (Apple Silicon):
curl -L -o nextpay https://github.com/kapitolph/nextpay-cli/releases/latest/download/nextpay-darwin-arm64
chmod +x nextpay
sudo mv nextpay /usr/local/bin/macOS (Intel):
curl -L -o nextpay https://github.com/kapitolph/nextpay-cli/releases/latest/download/nextpay-darwin-amd64
chmod +x nextpay
sudo mv nextpay /usr/local/bin/Verify the installation:
nextpay --versionUpdating: The CLI can self-update. Check for new versions and install them with:
nextpay update check
nextpay update installFor Docker environments (common with AI agents), add the download to your Dockerfile:
RUN curl -L -o /usr/local/bin/nextpay \
https://github.com/kapitolph/nextpay-cli/releases/latest/download/nextpay-linux-amd64 \
&& chmod +x /usr/local/bin/nextpay