Skip to content

CLI Installation

Install

All releases are served from the Catalyst Networks Downloads portal. The snippets below query the downloads API for the latest release matching your platform and architecture.

Terminal window
set -euo pipefail
BASE="https://downloads.catalystnetworks.io"
case "$(uname -s)" in
Linux) PLATFORM=linux ;;
Darwin) PLATFORM=darwin ;;
*) echo "unsupported OS: $(uname -s)" >&2; exit 1 ;;
esac
case "$(uname -m)" in
x86_64|amd64) ARCH=amd64 ;;
aarch64|arm64) ARCH=arm64 ;;
*) echo "unsupported arch: $(uname -m)" >&2; exit 1 ;;
esac
URL=$(curl -fsSL "$BASE/api/v1/products/catalyst-manager" | python3 -c "
import sys, json
d = json.load(sys.stdin)
m = [r for r in d['releases'] if r['is_latest'] and r['platform']=='$PLATFORM' and r['arch']=='$ARCH']
if not m: sys.exit('no release for $PLATFORM/$ARCH')
print('$BASE' + m[0]['download_url'])
")
TMP=$(mktemp -d) && trap 'rm -rf "$TMP"' EXIT
curl -fsSL "$URL" | tar -xz -C "$TMP"
sudo install -m 0755 "$TMP/catalyst-manager-$PLATFORM-$ARCH" /usr/local/bin/cvpn-manager
cvpn-manager version

Prefer to grab a tarball by hand? Browse downloads.catalystnetworks.io/downloads/catalyst-manager for every published version with checksums.

Verify

Terminal window
cvpn-manager version

Nebula

You do not need to install Nebula separately. The CLI automatically downloads and installs the correct Nebula binary for your platform during cvpn-manager register. You can also manage it manually:

Terminal window
# Check if Nebula is installed
cvpn-manager nebula check
# Install the latest version
cvpn-manager nebula install
# Update an existing installation
cvpn-manager nebula update

Requirements

  • Root/sudo access is required to install system services, write to the config directory, and install the Nebula binary.
  • Network access to the control plane API and GitHub (for Nebula downloads).

Next Steps