Docs

CLI Reference

All VIERCE CLI commands, options, and usage examples.

vierce login

Authenticate 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 deploy

Deploy 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 dev

Start 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 logs

Stream logs from your deployed application.

Options

--tail — stream live logs

--since <time> — logs since a specific time

--filter <text> — filter logs by text

vierce scale

Scale 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 domains

Manage custom domains for your deployments.

Options

vierce domains add <domain> — add a custom domain

vierce domains ls — list all domains

vierce whoami

Display the currently authenticated user.