Syntax
vercel build [options]Options
Available flags and parameters for this command
--prodBuild with Production environment variables
--yesSkip prompts and auto-retrieve settings
--targetSpecify deployment environment
Examples
Common usage examples
vercel buildvercel build --prodvercel build --yes --target=stagingUse Cases
When to use this command
- •Local build verification
- •CI/CD pipeline integration
- •Inspect build artifacts
- •Debug deployment issues
- •Prebuilt deployments for security