---
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-07-10T20:30:47.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 June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

News & Announcements June 24, 2026

[

### How we measure Netlify’s Agent Experience

](/blog/how-we-measure-netlify-agent-experience)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

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/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/)