Skip to content

CLI docs

Tunnel from your terminal.

Install JPRQ, authenticate once, and expose HTTP, TCP, static files, debug sessions, subdomains, or custom domains from a focused command line workflow.

$ jprq http 3000
jprq 2.2          press Ctrl+C to quit

Status:           Online
Protocol:         HTTP
Forwarded:        app.jprq.live -> 127.0.0.1:3000

Install or update

Install JPRQ

Install the CLI from the official JPRQ install script.

curl -fsSL https://jprq.io/install.sh | sudo bash

Authenticate

Connect your token

First obtain an auth token from jprq.io/auth, then authenticate the CLI.

jprq auth <your-auth-token>

HTTP

Start an HTTP tunnel

Replace 3000 with the local port you want to expose.

jprq http 3000

TCP

Start a TCP tunnel

Expose any TCP service, including SSH, databases, or internal tools.

jprq tcp 22

Subdomain

Reserve a readable URL

Replace custom with the subdomain you want to use.

jprq http 3000 -s custom

Static files

Serve a directory

Use the built-in HTTP server to publish a local folder.

jprq serve .

Debug

Open the tunnel debugger

Start an HTTP tunnel with the debug dashboard enabled.

jprq http 3000 --debug

CNAME

Use your own domain

Point your domain CNAME at your JPRQ app endpoint, then start the tunnel.

jprq http 3000 --cname example.com