DevTunnel-CLI is a zero-configuration CLI tool that creates public URLs for your local development servers. Supports multiple ports.
Works with any framework, any backend, and any port. No setup required.
npm install -g devtunnel-clicd my-react-app(or your Laravel/HTML/XAMPP folder)npm run devorphp artisan serveor XAMPP/Live Serverdevtunnel-cliDevTunnel-CLI is a command-line tool that creates secure public URLs for your local development servers, making it easy to share your work with teammates, clients, or test on mobile devices.
Your dev server runs on localhost:3000, which only you can access. Sharing with teammates or testing on mobile devices requires complex setup or deployment.
DevTunnel-CLI creates a public URL (like https://your-app.serviceprovider.com) that tunnels to your local server. No deployment, no configuration, just run one command.
Everything you need to share local servers, with zero configuration required.
Auto-detects your project and running dev server port. No manual configuration needed.
Works with any project immediately. No config files to edit, no settings to change.
Intelligently finds your project and detects which port your dev server is running on.
DevTunnel-CLI supports multiple ports. Auto-detects or choose your port (3000, 8000, 5500, 80, etc.).
Automatically tries Cloudflare โ Ngrok โ LocalTunnel for maximum reliability.
Works perfectly on Windows, macOS, and Linux with native OS integration.
Get your public URL in seconds. No waiting, no delays, instant sharing.
Vite, React, Vue, Next.js, Express, NestJS, Laravel, plain HTML, and PHP/XAMPP โ works with ALL of them. HTML gets a built-in static server; XAMPP subfolders (e.g. localhost/MyProject) supported.
Built-in proxy bypasses framework restrictions. No need to modify your project config.
Simple 5-step process to get your local server online
One-time installation via npm. Takes less than 10 seconds.
npm install -g devtunnel-cliNavigate to your project folder โ Node/React (e.g. my-app), Laravel, plain HTML, or XAMPP (e.g. htdocs/MyProject).
cd your-projectNode/Laravel: run your dev server (npm run dev, php artisan serve). HTML: optional โ DevTunnel-CLI can start a built-in server. XAMPP: have Apache running.
npm run dev
# OR php artisan serve
# OR XAMPP / Live Server
# HTML: DevTunnel-CLI can serve for youOpen a NEW terminal, go to the SAME project directory, and run devtunnel-cli. It auto-detects project type and port (Node, Laravel, HTML, PHP/XAMPP).
cd your-project
devtunnel-cliDevTunnel-CLI gives you a public URL instantly. Share it with anyone, anywhere!
https://your-app.serviceprovider.comDevTunnel-CLI works with any HTTP/HTTPS server, regardless of framework or language.
โจ Plus: REST APIs, GraphQL APIs, WebSocket servers, Microservices, Monoliths, and ANY HTTP/HTTPS server!
Plain HTML (port 5500 or built-in server) and PHP/XAMPP (port 80, e.g. http://localhost/YourProject/) are fully supported.
Install DevTunnel-CLI globally and start sharing your local servers instantly
Fastest and easiest way to get started
npm install -g devtunnel-clidevtunnel-cli from your project directorynpm install -g devtunnel-clicd your-projectnpm startornpm run devorphp artisan serveor XAMPPdevtunnel-clihttps://your-app.serviceprovider.comDevTunnel-CLI is built for development, testing, demos, and webhook debugging. Share work-in-progress with teammates, test on mobile devices, demo features to clients, or debug webhooks โ all with one command.
Each run generates a fresh public URL. Share it with anyone; they can access your local server instantly. When you stop the tunnel (Ctrl+C), the URL stops working. Run again to get a new URL.
No! DevTunnel-CLI works with zero configuration. Your project files stay untouched. A smart proxy forwards requests to your dev server automatically.
DevTunnel-CLI detects it automatically. Run devtunnel-cli from the same directory โ it finds your server and port and gives you a public URL right away.
Yes! Run from different project directories; each gets its own URL. You can run multiple tunnels at once.
Yes! Full WebSocket support for Vite HMR (Hot Module Reload), Socket.io, and other real-time features.
DevTunnel-CLI falls back to Ngrok (if installed) or LocalTunnel (built-in). You always get a working tunnel.
Press Ctrl+C in the terminal where DevTunnel-CLI is running. The tunnel and proxy stop gracefully.
Install DevTunnel-CLI now and start sharing your development work with the world in seconds.