Command Palette

Search for a command to run...

vercel

Deploy Vercel projects from the current directory or specified path

Aliases
vercel deploy
Syntax
vercel [options] or vercel --cwd [path-to-project]
Options
Available flags and parameters for this command
--prod

Deploy to production domain

--prebuilt

Deploy from previous vercel build output

--no-wait

Exit without waiting for deployment completion

--force / -f

Force new deployment without cache

--with-cache

Retain cache when using --force

--build-env KEY=value / -b

Provide build-time environment variables

--env KEY=value / -e

Set runtime environment variables

--target

Define target environment (production, preview, or custom)

--skip-domain

Disable automatic domain promotion (requires --prod)

--regions

Specify regions for Vercel Functions

--archive=tgz

Compress deployment to avoid rate limits

--logs / -l

Display build logs during deployment

--meta KEY=value / -m

Add metadata for filtering deployments

--public

Make source code publicly available at /_src

--yes

Skip setup questions using defaults

Examples
Common usage examples
vercel --prod
vercel --build-env NODE_ENV=production
vercel --prebuilt --archive=tgz
vercel > deployment-url.txt
Use Cases
When to use this command
  • Deploy to production environment
  • Deploy with custom environment variables
  • Deploy prebuilt artifacts from CI/CD
  • Capture deployment URL for automation