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 | sh

This 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 | sh

Download the binary directly:

# Resolve the latest version
BASE_URL=https://assets.cluster.app/serve/cstatic-assets/releases/ccp
VERSION=$(curl -fsSL "$BASE_URL/latest")

# macOS (Apple Silicon)
curl -fsSL "$BASE_URL/$VERSION/ccp-darwin-arm64" -o ccp

# Linux (x86_64)
curl -fsSL "$BASE_URL/$VERSION/ccp-linux-amd64" -o ccp

# Linux (ARM64 / Raspberry Pi)
curl -fsSL "$BASE_URL/$VERSION/ccp-linux-arm64" -o ccp

# Make executable and move to PATH
chmod +x ccp
sudo mv ccp /usr/local/bin/

To pin a specific version, set VERSION=0.1.22 (or any published release) instead of resolving from $BASE_URL/latest.

Verify

ccp --version
# ccp 0.1.0 (abc1234)
# runtime 146.9.0

The 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 && compinit
ccp completions bash
# Installs to ~/.bash_completion.d/ccp
# Add to ~/.bashrc:
#   source ~/.bash_completion.d/ccp
ccp completions fish
# Installs to ~/.config/fish/completions/ccp.fish
# Loaded automatically by Fish

On this page