Skip to main content
hoist is Hoista’s command line. Everything the desktop app does, it does too, on this computer’s Hoista or on a remote. Run a command without its arguments in a terminal and it asks for what’s missing; in a script, pass everything and add --json.

Install the CLI

The installer puts hoist and hoistd side by side. See Install, then check it:

Global flags

These work with every command, before or after it.

In scripts and CI

  • Pass every argument. A missing one is an error that names the flag, never a prompt.
  • Add --json and read stdout. Progress and confirmations go to stderr.
  • Pipe secrets: --token-stdin, --value-stdin, --passphrase-stdin or --file .env. Never put a token or value in an argument.
  • Exit codes: 0 worked, 1 failed, 2 the command was called wrong or needs input it didn’t get.
  • NO_COLOR=1 turns colour off; it’s off already when output isn’t a terminal.

Shell completion

Commands

Projects

List, import, link, rename and delete projects.

Resources and databases

Restart, pause, move and delete services and databases.

Deploying

Plan a deploy, follow it, roll back or cancel.

Variables and domains

Environment variables and custom domains.

Watching

Logs, metrics, activity, billing and usage.

Accounts and providers

Connect provider accounts, check and rotate tokens.

Environments

Production, staging and the one in use.

Remotes

Run Hoista on a server and switch between them.

Agents

Let coding agents in and choose what they may do.

Safety and upkeep

Backups, operations, webhooks and settings.

This computer

Start the engine, run checks, install the service.