Skip to content

Installation

The SKE CLI is a single Go binary called ske, built for macOS and Linux on amd64 and arm64. No runtime dependencies required.

Terminal window
curl -fsSL https://get.ske.io/install.sh | sh

This detects your OS and architecture, downloads the latest release, and installs it to /usr/local/bin, asking for sudo when that directory isn’t writable.

The script reads these variables:

Variable Purpose
SKE_VERSION Install this release instead of the latest, for example v0.1.0
INSTALL_DIR Install to this existing directory instead of /usr/local/bin

Set them on the sh side of the pipe:

Terminal window
curl -fsSL https://get.ske.io/install.sh | SKE_VERSION=v0.1.0 sh

In CI, download the script and then run it, so a failed download fails the step. See Using tokens in CI.

Each release is a plain binary at https://get.ske.io/<version>/ske-<os>-<arch>, where <os> is linux or darwin and <arch> is amd64 or arm64. https://get.ske.io/latest holds the latest version:

Terminal window
# Example for Linux amd64
version=$(curl -fsSL https://get.ske.io/latest)
curl -fsSL "https://get.ske.io/${version}/ske-linux-amd64" -o ske
sudo install -m 755 ske /usr/local/bin/ske
Terminal window
ske version
ske 1.0.0 (linux/amd64)
commit abc1234
built 2026-09-20T14:30:00Z

SKE uses passwordless authentication. Run ske login and enter your email address:

Terminal window
ske login
Email: you@example.com
✓ Sign-in link sent. Check your email and click the link.
⠋ Waiting for sign-in...
✓ Signed in as you@example.com

The CLI sends a magic link to your email. Click it in your browser — the CLI detects the confirmation automatically and stores your session credentials in ~/.ske/credentials.json.

For automated pipelines, set the SKE_API_TOKEN environment variable instead of running ske login:

Terminal window
export SKE_API_TOKEN=your-api-token
ske deploy

API tokens are created from the dashboard or via the API. See API Tokens for details.

The CLI stores configuration in ~/.ske/:

File Contents
config.json API URL, current organization, current workspace
credentials.json Access token, refresh token, email (mode 0600)

ske link saves a directory’s project and default environment in .ske/project.json, kept out of git. See Quick start for setup.

Variable Purpose
SKE_API_URL Override the API base URL
SKE_ORG Override the current organization
SKE_WORKSPACE Override the current workspace
SKE_PROJECT Override the linked project
SKE_ENV Override the linked environment
SKE_API_TOKEN Static API token for CI (skips credential file)
SKE_CONFIG_DIR Override the config directory (default: ~/.ske)
NO_COLOR Disable colored output