Installation
Install the sota CLI to deploy and manage applications from your terminal.
System Requirements
- macOS (Intel or Apple Silicon) or Linux (x86_64 or ARM64)
- Windows users: use WSL2
Quick Install (Recommended)
curl -fsSL https://sota.io/install.sh | sh
This auto-detects your OS and architecture and installs the sota binary to /usr/local/bin.
To install to a custom location:
INSTALL_DIR=~/.local/bin curl -fsSL https://sota.io/install.sh | sh
Manual Download
Download the binary for your platform:
| Platform | Architecture | Download |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3/M4) | sota-darwin-arm64 |
| macOS | Intel | sota-darwin-amd64 |
| Linux | x86_64 | sota-linux-amd64 |
| Linux | ARM64 | sota-linux-arm64 |
All releases are available on GitHub Releases.
After downloading:
chmod +x sota-*
sudo mv sota-* /usr/local/bin/sota
Install via Go
If you have Go 1.21+ installed:
go install github.com/sota-deploy/cli/cmd/sota@latest
Make sure $GOPATH/bin (usually ~/go/bin) is in your PATH.
Verify Installation
sota --version
Expected output:
sota version 1.0.0 (abc1234)
Authentication
After installation, authenticate with your sota.io account:
sota login
This opens your browser for OAuth authentication. After successful login, your credentials are stored at ~/.config/sota/credentials.json.
Configuration
The CLI stores configuration locally:
| File | Purpose |
|---|---|
~/.config/sota/credentials.json | Authentication tokens |
.sota.json | Project-level config (created by sota deploy) |
Updating
Re-run the install script to update:
curl -fsSL https://sota.io/install.sh | sh
Or if installed via Go:
go install github.com/sota-deploy/cli/cmd/sota@latest
Next Steps
- Quick Start -- Deploy your first app
- CLI Reference -- All available commands