Aliases
vercel deploy
Syntax
vercel [options] or vercel --cwd [path-to-project]Options
Available flags and parameters for this command
--prodDeploy to production domain
--prebuiltDeploy from previous vercel build output
--no-waitExit without waiting for deployment completion
--force / -fForce new deployment without cache
--with-cacheRetain cache when using --force
--build-env KEY=value / -bProvide build-time environment variables
--env KEY=value / -eSet runtime environment variables
--targetDefine target environment (production, preview, or custom)
--skip-domainDisable automatic domain promotion (requires --prod)
--regionsSpecify regions for Vercel Functions
--archive=tgzCompress deployment to avoid rate limits
--logs / -lDisplay build logs during deployment
--meta KEY=value / -mAdd metadata for filtering deployments
--publicMake source code publicly available at /_src
--yesSkip setup questions using defaults
Examples
Common usage examples
vercel --prodvercel --build-env NODE_ENV=productionvercel --prebuilt --archive=tgzvercel > deployment-url.txtUse 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