Skip to content

CLI Reference

The Acme CLI (@acme/cli) is a command-line tool for managing projects, deployments, and configuration from your terminal. This page documents every available command and its options.

These flags are available on all commands:

FlagDescription
--help, -hShow help for any command
--version, -vPrint the CLI version
--verboseEnable verbose logging output
--jsonOutput results as JSON (useful for scripting)

Authenticate the CLI with your Acme Platform account.

Terminal window
acme login

Opens your default browser to complete the OAuth 2.0 authorization flow. A refresh token is stored locally at ~/.config/acme/credentials.json.

Initialize a new project in the current directory.

Terminal window
acme init [project-name]
OptionDescription
--template <name>Start from a project template (e.g., nextjs, astro, express)
--no-gitSkip Git repository initialization

Deploy the current project to Acme Platform.

Terminal window
acme deploy [options]
OptionDescription
--productionDeploy to the production environment
--previewDeploy to a preview environment
--env <name>Deploy to a named custom environment
--message <msg>Attach a deployment message

Display the status of the current project and its deployments.

Terminal window
acme status

Manage environment variables and project configuration.

Terminal window
acme config set <key> <value> [--env <environment>]
acme config get <key> [--env <environment>]
acme config list [--env <environment>]
acme config import <file> [--env <environment>]

Stream real-time logs from a running deployment.

Terminal window
acme logs [--env <environment>] [--follow]

Roll back to the previous deployment.

Terminal window
acme rollback [--env <environment>]

Print the currently authenticated user and account details.

Terminal window
acme whoami