Documentation Index
Fetch the complete documentation index at: https://docs.slipway.sh/llms.txt
Use this file to discover all available pages before exploring further.
sw is the slipway command-line client. It ships as a separate binary from the slipway service and lets you do, from a terminal, most of the read operations you’d otherwise do in the dashboard: list orgs, browse repos, watch deployments, and tail deployment logs.
The CLI is intentionally narrow in v1. There’s no sw deploy, no secret editing, no settings management — those still live in the web UI.
Install
Binaries are built per platform. Drop the binary somewhere on yourPATH:
- macOS / Linux:
sw - Windows:
sw.exe
Log in
sw authenticates using GitHub’s device flow. You’ll see a code in your terminal and finish signing in on github.com — no browser-side redirect back to your laptop, no copy-pasting tokens.
--no-browser), copy the URL yourself.
On success the token lives at:
- macOS:
~/Library/Application Support/slipway/credentials.json - Linux:
~/.config/slipway/credentials.json - Windows:
%APPDATA%\slipway\credentials.json
0600 on Unix. Keep it that way.
Logging into a non-SaaS instance
sw login talks to the public SaaS by default. To log into a different instance (self-hosted, dev cluster) pass --api-url:
--context:
Logging out
Common commands
deps works in place of deployments:
Global flags
--api-url URL(envSW_API_URL) — only consulted at login; afterwards the URL is read from the active context.--context NAME— operate against a non-active context without switching to it.--org SLUG(or-o) — override the default org for one command.
Tokens
sw tokens are opaque bearer strings that start with sw_. They’re stored hashed on the server — the plaintext is only returned once, when sw login finishes. If you lose the credentials file you’ll need to log in again.
A planned API keys page in the web UI will let you list and revoke active CLI tokens.