Skip to main content
Conventions used below:
  • Commands marked (project-scoped) accept --project <slug|id> and fall back to $KORVE_PROJECT, then .korve.toml (see precedence).
  • Add --json to any command for the raw API response.
  • Exit codes are listed in the CLI overview.

Auth & setup

korve login

Authenticate with an org-scoped API key and store it (0600) in ~/.config/korve/config.toml. The key is validated against the organization before anything is written.

korve logout

Remove stored credentials.

korve whoami

Show the organization the CLI is authenticated against (name, id, billing status). Write .korve.toml in the current directory so project-scoped commands resolve without --project.

korve health / korve spec

Public, no auth: health checks API liveness; spec prints the OpenAPI document.

korve completions <shell>

Generate completions for bash, zsh, fish, elvish, or powershell.

Organization & billing

korve orgs show (alias: org)

Organization details: name, id, slug, personal flag, billing status.

korve billing show

Billing status and the current rate card.

korve api-keys list|create|revoke

Key management is session-only at the API: these commands exist so the failure is helpful — they surface the 401/403 with a pointer to the dashboard (organization settings → API keys), where keys are actually minted. create’s secret, when issued, prints bare on stdout and is shown once.

Projects

korve projects list (alias: project)

korve projects create

korve projects get [<project>] (project-scoped)

One project with its latest deployment.

korve projects update (project-scoped)

--repo and --no-repo conflict; the slug and URL never change.

korve projects check-repo <owner/repo> (project-scoped)

Check whether the platform can deploy from a repository. Inaccessible answers include the URL where access is granted.

korve projects delete [<project>] (project-scoped)

Deletes the project, its deployments, env vars, and runtime. Asks you to type the slug; --yes skips. Owner role required.

Deploys

korve deploy (project-scoped)

Queue a deployment and follow it until ready or failed. Prints status transitions to stderr, the URL on success, and the build-log tail (and a non-zero exit) on failure.

korve deploys list|get|diagnose (alias: deployments, project-scoped)

Previews

korve previews list|remove (alias: preview, project-scoped)

Logs

korve logs (project-scoped)

Environment variables

korve env list|set|unset (project-scoped)

Domains

korve domains list|add|check|remove (project-scoped)

Database

korve database provision|show|rotate|delete (alias: db, project-scoped)

Storage

korve storage list|upload|download|delete (project-scoped)

--content-type is guessed from the extension when omitted.

Budgets & usage

korve budget show|set|remove (alias: budgets, project-scoped)

Omitted options on set reset to defaults (alert 80%, hard stop off).

korve usage show|record (project-scoped)

Manifest

korve manifest export|plan|apply

See Manifests for the file format and plan semantics.