CLI Reference
All VIERCE CLI commands, options, and usage examples.
vierce loginAuthenticate with your VIERCE account via OAuth.
Options
--token <key> — authenticate using an API token
vierce init [project]Initialize a new VIERCE project. Detects framework and configures build settings automatically.
Options
--template <name> — use a specific template
--typescript — enable TypeScript
vierce deployDeploy the current project to VIERCE Cloud. Promotes to production by default.
Options
--preview — deploy to a preview environment
--prod — deploy to production
--target <env> — target a specific environment
vierce devStart a local development server with VIERCE environment variables and functions.
Options
--port <num> — specify port (default: 3000)
vierce env [ls|add|rm]Manage environment variables for your project.
Options
vierce env ls — list all variables
vierce env add <key> <value> — add a variable
vierce env rm <key> — remove a variable
vierce logsStream logs from your deployed application.
Options
--tail — stream live logs
--since <time> — logs since a specific time
--filter <text> — filter logs by text
vierce scaleScale your application instances up or down.
Options
vierce scale <service> <instances> — set instance count
--min <n> — set minimum instances
--max <n> — set maximum instances
vierce domainsManage custom domains for your deployments.
Options
vierce domains add <domain> — add a custom domain
vierce domains ls — list all domains
vierce whoamiDisplay the currently authenticated user.