More
Command line
Publish, watch and configure your services from the terminal. Tokens and billing live in the panel. With --json, a script or an agent uses it just like you.
install
One file, checked
The installer picks the build for your system and processor, checks its sha256 against the published list before installing anything and puts spredr in ~/.spredr/bin, for you only.
macOS · Linux
$curl -fsSL https://spredr.cloud/install | sh
Windows
$irm https://spredr.cloud/install.ps1 | iex
SPREDR_VERSIONA given version instead of the latest.
SPREDR_INSTALLAnother folder (spredr goes in its bin/).
global flags
They work on any command
--jsonStable JSON for scripts and agents (one object per line while following).
-s, --service <name>The service; not needed in a linked folder.
--api <url>Talk to another control (local, staging).
-y, --yesSkip confirmations (never the browser approvals).
-q, --quietOnly errors.
--no-colorPlain text, also with NO_COLOR.
--asciiNo Unicode (automatic with TERM=dumb).
every command
Grouped like spredr help
Ship
linkTies this folder to a service, so commands here need no name.unlinkUnties this folder from its service.newCreates a service from a GitHub repo.rmDeletes a service.deployDeploys the newest commit of the service's branch and follows it until it is live (or fails), with the build as it happens.rebuildBuilds the same commit again from scratch and deploys it.releasesA service's releases, newest first.rollbackGoes back to an earlier release: its image, no rebuild.startTurns a service back on with its last healthy release.stopTurns a service off.
Watch
servicesEvery service, its state and address.statusHow a service is doing: state, memory, CPU and traffic charts.topEvery service live: memory, requests and restarts, every 2 s.openOpens a service's address, or its page in the panel.usageThe last 24 hours, hour by hour: memory, CPU and traffic.liveOne service live on one screen: memory, requests, latency, errors and its logs.logsWhat a service prints (-f to follow).buildA release's build log (the latest, or -r vN).activityWhat happened on your account: deploys, changes, sign-ins, refusals.risksWhat puts your services at risk now, worst first, with the fix.
Configure
settingsHow a service is built and runs: branch, folder, Dockerfile, start command, port, health path, memory, region.varsVariables: list names, set, unset, or import a .env.volumePersistent volume: see it, give it, restore a backup, or remove it.domainsDomains: list, add, verify, choose which one answers, remove.
Account
This CLI
versionThe version, the system, and which control it talks to.doctorChecks everything that can go wrong on this machine, and how to fix it.configShows or changes settings: api, color, updateCheck.completionTab completion for bash, zsh, fish or PowerShell.upgradeUpdates spredr to the latest version (checked against its sha256).