Skip to content

CLI reference

Authorize the CLI with your Nimbus account.

Terminal window
nimbus login [--token <api-key>]

Scaffold a new project in the given directory.

Terminal window
nimbus init <name> [--template <name>]

Run a local edge runtime emulator with hot reload.

Terminal window
nimbus dev [--port <number>]

Deploy the current project to all configured regions.

Terminal window
nimbus deploy [--env <preview|staging|production>]

Stream or fetch logs for a function.

Terminal window
nimbus logs <function> [--tail] [--since <duration>]

Manage environment variables.

Terminal window
nimbus env set <key> <value> [--secret] [--env <name>]
nimbus env list [--env <name>]
nimbus env rm <key> [--env <name>]

Manage custom domains.

Terminal window
nimbus domains add <domain>
nimbus domains verify <domain>
nimbus domains rm <domain>

Inspect available regions.

Terminal window
nimbus regions list

Manage API keys.

Terminal window
nimbus keys rotate
nimbus keys list