惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
有赞技术团队
有赞技术团队
H
Help Net Security
V
Visual Studio Blog
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
L
LangChain Blog
N
Netflix TechBlog - Medium
罗磊的独立博客
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements

Vercel News

Vercel Open Source Program: Winter 2026 cohort How Notion Workers run untrusted code at scale with Vercel Sandbox How we run Vercel's CDN in front of Discourse From idea to secure checkout in minutes with Stripe Building Slack agents can be easy Scaling redirects to infinity on Vercel Advancing Python typing Gamma builds design-first agents with Vercel How Avalara turns pipe dreams into patent-pending with v0 Keeping community human while scaling with agents How OpenEvidence built a healthcare AI that physicians actually trust Security boundaries in agentic architectures Skills Night: 69,000+ ways agents are getting smarter Video Generation with AI Gateway We Ralph Wiggumed WebStreams to make them 10x faster How Stably ships AI testing agents in hours, not weeks How we built AEO tracking for coding agents Anyone can build agents, but it takes a platform to run them Introducing Geist Pixel The Vercel AI Accelerator is back with $6m in credits Making agent-friendly pages with content negotiation The Vercel OSS Bug Bounty program is now available Introducing the new v0 Run untrusted code with Vercel Sandbox, now generally available How Stripe built a game-changing app in a single flight with v0 How Sensay went from zero to product in six weeks AGENTS.md outperforms skills in our agent evals Agent skills explained: An FAQ Testing if "bash is all you need" AWS databases are now live on the Vercel Marketplace and v0
Introducing `vercel dev`: Serverless, on localhost - Verc...
2019-04-30 · via Vercel News

3 min read

Bring the frontend cloud to your local machine for a seamless development experience.

Vercel was born out of the idea that deploying a website could be much simpler. You only have to run a single command: vercel – that is all.

With our GitHub and GitLab integrations, we enabled deploying on every git push, and teams to manage staging and production by simply merging pull requests.

Not only did Vercel make deployments effortless, it made them scalable and global by default. Thanks to monorepo support, you could develop static websites and serverless functions within the same repository.

Today, we are excited to announce one command to run it all on localhost: vercel dev.

Link to headingSingle-command local development

Typically, developing a website or application involves a series of steps:

  • Cloning repositories

  • Fetching packages

  • Synchronizing and matching ports

  • Downloading the right runtime for each programming language

  • And so on...

Even for modern projects, we often need to look up the README.md file for instructions about installing dependencies, and then tell a package manager to run developer scripts.

Vercel gives you a different contract. It is always vercel dev.

Link to headingNo more Control+C

When you work with servers, the developer workflow is quite tedious. You have to run a process, find the port, then make your changes, then kill the process (usually with Control+C)...

When you work with modern frontend frameworks, your HTML, CSS, and client-side JavaScript hot-reloading is expected instead.

When you introduce API endpoints written as serverless functions, we now also have the advantage of bringing live reloading to your backend. vercel dev ensures that every single request builds and runs the latest version of your code (yes, like .php for every language).


Note: Using Next.js with next dev will run both your front-end and serverless functions already. You do not need to use vercel dev.

Link to headingGatsby and Node.js Functions

If you are building a static site using a tool like Gatsby, all you need to do is add the command you would normally use to a dev script in package.json...

{

"scripts": {

"dev": "gatsby develop -p $PORT"

}

}

Once that is completed, the tool (in this case gatsby develop) is invoked automatically.

The Gatsbygram example showcases this really well:

Link to headingGo Functions with static HTML

If you chose to write a backend in Go, there are no changes to be made in order for your project to work with vercel dev, you just run the command:

Link to headingNode.js and headless Chrome

Even if your application is spawning a instance of Headless Chrome (like puppeteer), local development will be very smooth, as vercel dev emulates production closely:

Link to headingStatic Sites

As a bonus, you will be glad to know that vercel dev also acts as a substitute for serve out of the box. Any time you want to serve a directory quickly, you know what to reach for:

Link to headingGet Started

vercel dev is available as part of the latest version of Vercel CLI. For more details, check out its documentation including the list of optimized frameworks.

Link to headingLet's develop together

We want to hear from you and have set up a dedicated feedback form to learn more about the different ways in which you would like to see vercel dev improve: Which technologies, platforms, and frameworks you would like us to support, or any hiccups or slow paths you run into.

Furthermore, we also set up a FAQ page containing several common questions that might come up when using vercel dev and their answers.

And as always, you are invited to join our community and drop the team a note.