---
title: "Pair programming with the Netlify CLI"
description: "Learn how to share your local development server with anyone in the world!"
source: "https://www.netlify.com/blog/2021/11/17/pair-programming-with-the-netlify-cli/"
last_updated: "2026-08-29T09:23:11.000Z"
---
Did you know you can share a live development server over HTTPS when running the [Netlify CLI](https://docs.netlify.com/cli/get-started/)? That’s super cool! But… how?

If you run the command `netlify dev --live`, you open a tunnel from your local development server over the internet, so you can work with anyone with the link, anywhere in the world, as long as the session is open!

If you’ve used tools like [ngrok](https://ngrok.com/) before, it is similar but built directly in the Netlify CLI so you can take advantage of all the other features too!

Want to try it out? Start by installing the Netlify CLI with `npm install netlify-cli -g`, run `netlify init` or `netlify link` to connect a local project to a site on Netlify, and then run `netlify dev --live` to start your local server and generate the link you can share!

If everything works well, the browser should automatically open with the `.live` URL and you should see something like this in your terminal.

![](/v3/img/blog/netlify-cli-terminal.png)

If you’re curious about the other features our CLI has, check out [the full commands list](https://cli.netlify.com/)!

Happy pairing 👩‍💻👨‍💻

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Pair programming with the Netlify CLI&url=https://www.netlify.com/blog/2021/11/17/pair-programming-with-the-netlify-cli//)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2021%2F11%2F17%2Fpair-programming-with-the-netlify-cli%2F%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2021/11/17/pair-programming-with-the-netlify-cli//)
-   [Bluesky](https://bsky.app/intent/compose?text=Pair programming with the Netlify CLI+https://www.netlify.com/blog/2021/11/17/pair-programming-with-the-netlify-cli//)

* * *

### Tags

-   [Jamstack](/blog/tags/jamstack/)
-   [Netlify CLI](/blog/tags/netlify-cli/)
-   [programming](/blog/tags/programming/)

## Keep reading

![](/_astro/3f45eb6eda4ea8814be310e3df4a7883a5bd9ba0-1200x675_ZcBDUS.webp)

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

![](/_astro/8fe9e8a23f944c9912003233d99a2df7fee637cf-1600x900_Z1gMhmf.webp)

Guides & Tutorials May 15, 2026

[

### Tracking AI search traffic: how to use Netlify Log Drains to maximize AEO

](/blog/tracking-ai-search-traffic)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

## Recent posts

News & Announcements August 25, 2026

[

### Compete in OpenAI’s WebMCP Challenge with Netlify

](/blog/compete-openai-webmcp-challenge)

-   ![Profile picture of Karthik Puvvada](/_astro/e5524d3c315ad5114e1d5300d8991bfe902916fe-192x192_Z1w18MB.webp)
    
    Karthik Puvvada
    

News & Announcements August 19, 2026

[

### New clarifying questions in Agent Runners

](/blog/new-clarifying-questions-in-agent-runners)

-   ![Profile picture of Taylor Barnett-Torabi](/_astro/cf4624da8c1286738397b6fecb53bad504df140b-400x400_ZsvK0s.webp)
    
    Taylor Barnett-Torabi
    

Opinions & Insights August 14, 2026

[

### The full power of Git, without the friction: A conversation with Netlify CTO Dana Lawson

](/blog/netlify-source-with-netlify-cto-dana-lawson)

-   ![Profile picture of Dana Lawson](/_astro/856bf146d0c05c9dc25d45b59f7eac955fbbd644-512x512_1n84rs.webp)
    
    Dana Lawson
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)