CLI Commands Reference
Everything you need to manage projects, deployments, and workflows directly from your terminal.
Initialize a new .git project in the current directory. Creates configuration files and sets up the local environment.
.git init --template nextjs
Build and deploy your application to the global edge network. Supports preview and production environments.
.git deploy --env production --auto-purge
Generate a temporary preview URL for your branch. Automatically expires after 24 hours or manual cleanup.
.git deploy --preview --branch feature/auth
Manage local and global configuration settings for the CLI, including aliases, telemetry, and default regions.
.git config set region us-east-1
Authenticate the CLI with your .git account. Supports browser OAuth, SSO, and personal access tokens.
.git auth login --provider github
Securely store environment variables for your deployments. Supports encryption and per-environment scoping.
.git env set DATABASE_URL postgres://... --env prod
Stream real-time deployment and runtime logs. Filter by timestamp, level, or deployment ID.
.git logs --follow --level error
Display current project health, deployment status, active workers, and region distribution.
.git status --verbose