Skip to main content

Install speedctl CLI

speedctl is a command-line tool for Speedscale platform setup and cloud resource automation. Use it to install the Speedscale operator, generate manifests, and work with platform resources.

Recording, mocking, or replaying with proxymock?

These instructions install speedctl for platform setup and cloud resource automation. For the proxymock record/mock/replay workflow, follow Install proxymock CLI.

Install speedctl on macOS with Homebrew:

brew install speedscale/tap/speedctl

Or via the install script:

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

You can inspect the install script to see what it does. Root permission is not required to execute this script.

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

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

To install non interactively (like in CI/CD) set the SPEEDSCALE_API_KEY environment variable to your API key

Optionally skip the install script and install manually:

# Download speedctl binary on your machine
curl "https://downloads.speedscale.com/speedctl/speedctl-darwin-$(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
Reminder

Don't forget to add speedctl to your $PATH variable in your shell's rcfile:

# substitute your shell's rcfile
echo "export PATH=\$PATH:$HOME/.speedscale" >> ~/.zshrc

If your outbound proxy requires Kerberos for cloud access, configure Kerberos proxy authentication before running speedctl cloud commands.

Verify and initialize​

Run speedctl --help to verify that the executable is on your PATH. If proxymock is already configured for your enterprise account, reuse the shared credentials. Otherwise run speedctl init before using cloud commands and follow the prompts to authorize your Speedscale account. You can get your personal API key from the Profile page.

Next steps​

Continue with the platform quick start to install the operator. For capture and replay from an existing speedctl workflow, see Capture, replay, and mock with speedctl. Run speedctl --help or speedctl <command> --help for commands and flags.