vercel dev command is used to replicate the Vercel deployment environment locally, allowing you to test your Serverless Functions, Edge Functions, and Edge Middleware without requiring you to deploy each time a change is made.
If the Development Command is configured in your Project Settings, it will affect the behavior of
vercel dev for everyone on that team.
vercel dev, make sure to install your dependencies by running
If you're using a framework and your framework's Development Command already provides all the features you need, we do not recommend using
These are options that only apply to the
vercel dev command, therefore, more information is provided.
--listen option, shorthand
-l, can be used to specify which port
vercel dev runs on.
vercel dev --listen 5005
--yes option can be used to skip questions you are asked when setting up a new Vercel Project.
The questions will be answered with the default scope and current directory for the Vercel Project name and location.
vercel dev --yes
The following global options can be passed when using the
vercel dev command:
For more information on global options and their usage, refer to the options section.