A CLI tool for managing SGP services, including System Manager and Agentex Cloud.
brew tap scaleapi/sgpctl https://github.com/scaleapi/sgpctl
brew install sgpctlThe explicit URL is required because the tap repo isn't named homebrew-sgpctl (the Homebrew convention for auto-discovery). No GitHub token needed — this repo and its releases are public.
To upgrade to the latest version:
brew update
brew upgrade sgpctlinstall.sh downloads the binary for your platform from the latest release, checks it against the release's SHA256SUMS, and installs it root-owned with mode 0755 into /usr/local/bin (using sudo if needed). Download it, read it, then run it:
curl -fsSL --proto '=https' -o install.sh https://raw.githubusercontent.com/scaleapi/sgpctl/main/install.sh
less install.sh
bash install.shSGPCTL_VERSION=0.2.0 selects a release and INSTALL_DIR=~/.local/bin changes the destination.
Download the binary for your platform and SHA256SUMS from the same release. Save both in the same directory, then run the commands below from that directory to verify the binary and put it on your PATH:
# Linux:
sha256sum -c --ignore-missing SHA256SUMS
gh attestation verify sgpctl-linux-amd64 --repo scaleapi/sgpctl
sudo install -m 0755 sgpctl-linux-amd64 /usr/local/bin/sgpctl
# macOS:
grep ' sgpctl-darwin-arm64$' SHA256SUMS | shasum -a 256 -c -
gh attestation verify sgpctl-darwin-arm64 --repo scaleapi/sgpctl
sudo install -o root -g wheel -m 0755 sgpctl-darwin-arm64 /usr/local/bin/sgpctl| Platform | Binary |
|---|---|
| macOS (ARM) | sgpctl-darwin-arm64 |
| Linux (x86_64) | sgpctl-linux-amd64 |
| Windows (x86_64) | sgpctl-windows-amd64.exe |
sgpctl --help