Expose Localhost Without Installing Software
Zero global install
LocalToLink runs via npx — nothing to install globally:
npx localtolink
The first run downloads the package from npm; subsequent runs use the cache.
Requirements
| Requirement | Details | |-------------|---------| | Node.js | 22.14 or later | | Local app | Running on a detectable port | | Network | Outbound HTTPS allowed |
Check Node version:
node --version
# v22.14.0 or higher
No account needed
Anonymous tunnels require no signup. LocalToLink assigns a random 10-character subdomain automatically.
Compare to other "no install" options
| Tool | Install model |
|------|---------------|
| LocalToLink | npx localtolink (needs Node) |
| localtunnel | npx localtunnel (needs Node) |
| ngrok | Binary download or package manager |
| Cloudflare Tunnel | cloudflared binary required |
If Node is already in your workflow (most JavaScript developers), npx localtolink adds zero permanent footprint.
CI / scripts
Use --json for machine-readable output:
URL=$(npx localtolink --json --port 3000 | jq -r .url)
What you still need locally
- Your dev server running (
npm run dev, etc.) - Node.js installed (not bundled with LocalToLink)
See Expose Localhost to the Internet for the full walkthrough.
Try it now
Start a tunnel from your project directory — no account required.
$ npx localtolink