Skip to main content
cpctl is the command-line tool for installing and upgrading Chainstack Self-Hosted. This page covers getting it onto your local machine.
Installing cpctl only puts it on your machine. It does not deploy the Control Panel itself — for that, see Installation.
To install cpctl, run the script for your operating system:
This downloads and runs the cpctl installer script, which sets up the Chainstack Self-Hosted command-line tool on your system.

Supported platforms

The installer automatically detects your operating system and architecture.
32-bit systems (x86, ARM) are not supported.

Install a specific version

Pass the version as an argument:
Or set the CPCTL_VERSION environment variable:

Custom install directory

By default, cpctl installs to /usr/local/bin/. To override the install directory, set the CPCTL_INSTALL_DIR environment variable:
Make sure your server meets the system requirements before running the installer.

Verify the cpctl binary

After the installer completes, confirm that cpctl is available and check its version:

Shell completion

cpctl can generate shell completion scripts for bash, zsh, fish, and PowerShell.
Load completions for the current session:
Load for every new session:

Next steps

With cpctl on your machine, you’re ready to set up the cluster and deploy the Control Panel:
  1. Environment setup — Set up your Kubernetes cluster and required tools, if not already done
  2. Installation — Deploy the Control Panel using cpctl install
  3. Quick start — End-to-end walkthrough from a fresh server
Last modified on May 4, 2026