Skip to content

Install the CLI

The zerokie CLI is a single binary with no dependencies. Download it for your platform and you are ready to go.

Terminal window
curl -fsSL https://releases.zerokie.com/install.sh | sh

To install to a custom directory (useful in CI/CD pipelines):

Terminal window
INSTALL_DIR=./bin curl -fsSL https://releases.zerokie.com/install.sh | sh
Terminal window
# macOS (Apple Silicon)
curl -Lo zerokie https://releases.zerokie.com/latest/zerokie-darwin-arm64
chmod +x zerokie
sudo mv zerokie /usr/local/bin/
# macOS (Intel)
curl -Lo zerokie https://releases.zerokie.com/latest/zerokie-darwin-amd64
chmod +x zerokie
sudo mv zerokie /usr/local/bin/
# Linux (x86_64)
curl -Lo zerokie https://releases.zerokie.com/latest/zerokie-linux-amd64
chmod +x zerokie
sudo mv zerokie /usr/local/bin/
# Linux (ARM64)
curl -Lo zerokie https://releases.zerokie.com/latest/zerokie-linux-arm64
chmod +x zerokie
sudo mv zerokie /usr/local/bin/
Terminal window
zerokie version

You should see the version number printed to your terminal.

Log in with the API key provided during onboarding:

Terminal window
zerokie login --api-key YOUR_API_KEY

This saves your credentials to ~/.zerokie/config.json. All subsequent commands use this stored key.

With the CLI installed and authenticated, you are ready to deploy your first app.