C
Convex CLI
Details
- Command
-
npx convex - Docs
- https://docs.convex.dev/cli/overview
Authentication
Convex CLI user token bearer discovered
$ npx convex dev Acquired by the CLI — running npx convex dev opens the auth flow and stores the credential.
Convex deploy key bearer discovered
env CONVEX_DEPLOY_KEY Create a deploy key via the Create deploy key Management API or obtain one through your Convex deployment workflow, then set it in CONVEX_DEPLOY_KEY. The Platform APIs overview shows using CONVEX_DEPLOY_KEY="YOUR_DEPLOY_KEY" npx convex dev / npx convex deploy, and the Deploy Keys page documents CONVEX_DEPLOY_KEY for non-interactive CLI use.