Skip to main content

CLI

The speedctl command line tool is used to interact with Speedscale from your own terminal. speedctl is the Speedscale programmable API and the primary way to perform setup actions like installing the Speedscale Operator, generating manifests, etc.

If you are running Speedscale on a local desktop or in Docker Desktop, the CLI is required. For all other users it is highly recommended because it allows programmatic interaction with Speedscale cloud.

Start by installing the Speedscale CLI-based API (speedctl) via Homebrew:

brew install speedscale/tap/speedctl

Or via the install script:

sh -c "$(curl -Lfs https://downloads.speedscale.com/speedctl/install)"

Install a specific version py passing it to the install script:

sh -c "$(curl -Lfs https://downloads.speedscale.com/speedctl/install)" -s v1.4.63

Optionally skip the install script and install manually:

# Download speedctl binay on your machine
curl "https://downloads.speedscale.com/speedctl/speedctl-$(case $(uname -s) in Darwin) echo 'darwin' ;; Linux) echo 'linux';; esac)-$(case $(uname -m) in x86_64) echo 'amd64';; arm | arm64 | aarch64) echo 'arm64';; esac)" -o speedctl

# Create speedscale directory and move the binary to the directory
mkdir ~/.speedscale
mv ./speedctl ~/.speedscale

# Give execute permission to the binary
chmod +x ~/.speedscale/speedctl

# Add the Speedscale path to your PATH, change bashrc based on your Shell
echo "export PATH=\$PATH:$HOME/.speedscale" >> ~/.bashrc