Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

CLI Overview

The reactor CLI is your primary interface for local development, deployment, and day-to-day operations. Every capability has a corresponding CLI verb.

Terminal window
# macOS (Homebrew)
brew install reactor-cloud/tap/reactor
# From source
cargo install reactor-cli

Verify:

Terminal window
reactor version

These flags work with every command:

FlagShortDescription
--context-cContext to use (overrides REACTOR_CONTEXT)
--manifest-mPath to reactor.toml
--output-oOutput format: human or json
--yesSkip confirmation prompts
--verbose-vVerbose output
--tokenAuth token (overrides context token)
GroupCommandsPurpose
Projectinit, project, build, deploy, migrate, doctorProject lifecycle
Contextcontext list/add/use/show/remove, login, logout, whoamiServer connections and auth
Capabilitiesfunctions, sites, jobs, data, ai, auth, connect, vaultOperate each capability
Cloudcloud projects/keys/members/domains/auditReactor.cloud control plane
Devdev, up, down, statusLocal development server
Utilityinspect, logs, types, versionInspection and codegen
Terminal window
# Human-readable (default on TTY)
reactor functions list
# JSON for scripting
reactor --output json functions list
VariableDescription
REACTOR_CONTEXTDefault context name
REACTOR_TOKENAuthentication token
REACTOR_OUTPUTOutput format
REACTOR_ASSUME_YESSkip confirmations