snippetbashTip
vercel — Deploy and manage your Vercel deployments. More information: <https://vercel.com/docs/cli>.
Viewed 0 times
commandandvercelclimanagedeployyour
Problem
How to use the
vercel command: Deploy and manage your Vercel deployments. More information: <https://vercel.com/docs/cli>.Solution
vercel — Deploy and manage your Vercel deployments. More information: <https://vercel.com/docs/cli>.Deploy the current directory:
vercelDeploy the current directory to production:
vercel --prodDeploy a directory:
vercel {{path/to/project}}Initialize an example project:
vercel initDeploy with environment variables:
vercel {{[-e|--env]}} {{ENV}}={{var}}Build with environment variables:
vercel {{[-b|--build-env]}} {{ENV}}={{var}}Set default regions to enable the deployment on:
vercel --regions {{region_id}}Remove a deployment:
vercel remove {{project_name}}Code Snippets
Deploy the current directory
vercelDeploy the current directory to production
vercel --prodDeploy a directory
vercel {{path/to/project}}Initialize an example project
vercel initDeploy with environment variables
vercel {{[-e|--env]}} {{ENV}}={{var}}Context
tldr-pages: common/vercel
Revisions (0)
No revisions yet.