Skip to content
scaleapiPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

sgpctl

A CLI tool for managing SGP services, including System Manager and Agentex Cloud.

Installation

macOS (Homebrew)

brew tap scaleapi/sgpctl https://github.com/scaleapi/sgpctl
brew install sgpctl

The 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 sgpctl

Linux / macOS (install script)

install.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.sh

SGPCTL_VERSION=0.2.0 selects a release and INSTALL_DIR=~/.local/bin changes the destination.

Manual download

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

Usage

sgpctl --help

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages