Installation
Install the CCP CLI on macOS or Linux.
Installation
Install the CCP CLI to start deploying functions to Cluster.
Install
curl -fsSL https://assets.cluster.app/serve/cstatic-assets/releases/ccp/install.sh | shThis detects your OS and architecture, downloads the binary, and installs it to /usr/local/bin.
To install to a custom directory:
INSTALL_DIR=~/.local/bin curl -fsSL https://assets.cluster.app/serve/cstatic-assets/releases/ccp/install.sh | shDownload the binary directly:
# macOS (Apple Silicon)
curl -fsSL https://assets.cluster.app/serve/cstatic-assets/releases/ccp/ccp-darwin-arm64 -o ccp
# Linux (x86_64)
curl -fsSL https://assets.cluster.app/serve/cstatic-assets/releases/ccp/ccp-linux-amd64 -o ccp
# Linux (ARM64 / Raspberry Pi)
curl -fsSL https://assets.cluster.app/serve/cstatic-assets/releases/ccp/ccp-linux-arm64 -o ccp
# Make executable and move to PATH
chmod +x ccp
sudo mv ccp /usr/local/bin/Verify
ccp --version
# ccp 0.1.0 (abc1234)
# runtime 146.9.0The second line is the embedded V8 engine version, not the CLI version.
Shell Completions
CCP can generate completions for your shell. The completions command writes the file and prints setup instructions.
ccp completions zsh
# Installs to ~/.zsh/completions/_ccp
# Add to ~/.zshrc:
# fpath=(~/.zsh/completions $fpath)
# autoload -Uz compinit && compinitccp completions bash
# Installs to ~/.bash_completion.d/ccp
# Add to ~/.bashrc:
# source ~/.bash_completion.d/ccpccp completions fish
# Installs to ~/.config/fish/completions/ccp.fish
# Loaded automatically by Fish