Skip to content

Commands

Creates or logs into your ZeroAPI account, creates or selects a project, stores .project.json, and checks the local definition files.

Terminal window
zeroapi init

Runs the local ZeroAPI runtime from your definition files.

Terminal window
zeroapi dev

Useful options:

Terminal window
zeroapi dev --port 4312
zeroapi dev --environment staging

Validates and deploys the current backend definition to the selected environment.

Terminal window
zeroapi deploy

Deploy to another environment:

Terminal window
zeroapi deploy --environment staging --create-env

Manage deploy environments.

Terminal window
zeroapi env list
zeroapi env create staging
zeroapi env use staging

Exports a developer-preview backup of project metadata and runtime documents.

Terminal window
zeroapi backup export