DEV Community

Cover image for Supercharge your local development with Netlify Dev
Phil Hawksworth for Netlify

Posted on • Edited on • Originally published at netlify.app

4 1

Supercharge your local development with Netlify Dev

Throughout December we'll be highlighting a different Netlify feature each day. It might just be the thing you need to unlock those creative juices, and dust off that domain you registered but never deployed! Keep an eye on the blog and on Twitter for each feature!

Ok, Time to get productive!

Netlify Dev brings a variety of utilities to your local development environment, and even replicates some of Netlify's edge logic and routing rules available to you for testing and development.

Netlify Dev is available as part of the Netlify CLI which you can install globally on your system with:

npm install -g netlify-cli
Enter fullscreen mode Exit fullscreen mode

Got that? Great! Lots of goodies await!

Now you can run netlify dev in your local project folder and it will automatically:

  • Detect and run your site generator
  • Serve your site locally
  • Make environment variables available (More on those later this month!)
  • Performs edge logic and routing rules (More on those later this month!)
  • Compile and run serverless functions (And more on those later this month!)
  • ...and more!

More information

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay