Install prontaro CLI on Linux
Get prontaro CLI running on Linux servers and workstations with automatic or manual SHA256 verification and shell completion.
On this page9
The binary is statically linked for amd64 and arm64, so it runs on both glibc (Ubuntu, Debian, Fedora, RHEL, Arch) and musl (Alpine) distributions.
Quick install
Run the official installer (install.sh):
curl -fsSL https://prontaro.com/install.sh | shThe script verifies the SHA256 checksum and installs prontaro into /usr/local/bin or ~/.local/bin (set PRONTARO_INSTALL_DIR to choose another directory). If that directory is not on your PATH, the script offers to add it to your shell profile and to install shell completion.
To pin a specific release, choose a custom install path, or install for all users into /usr/local/bin:
# Pin a version (use a version from latest.json)
curl -fsSL https://prontaro.com/install.sh | PRONTARO_VERSION=0.2.0 sh
# Custom directory without touching shell profiles (CI / automation)
curl -fsSL https://prontaro.com/install.sh | PRONTARO_INSTALL_DIR=/opt/bin PRONTARO_NO_MODIFY_PATH=1 sh
# Install as root into /usr/local/bin (needed for --system services installed directly as root)
curl -fsSL https://prontaro.com/install.sh | sudo shIf you use Homebrew on Linux (Linuxbrew), you can also install via the official tap:
brew install prontaro/tap/prontaroManual download and SHA256 verification
If you prefer not to pipe the downloaded script directly into | sh, fetch the current version from latest.json, download the archive (amd64 or arm64) with SHA256SUMS, and verify before extracting:
VERSION="$(curl -fsSL https://dl.prontaro.net/cli/latest.json | sed -n 's/.*"version"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p')"
ARCH="amd64" # or arm64
curl -fsSLO "https://dl.prontaro.net/cli/v${VERSION}/prontaro_linux_${ARCH}.tar.gz"
curl -fsSLO "https://dl.prontaro.net/cli/v${VERSION}/SHA256SUMS"
sha256sum -c SHA256SUMS --ignore-missingExpected output: prontaro_linux_amd64.tar.gz: OK. Extract and place the binary on your PATH:
mkdir -p ~/.local/bin
tar -xzf "prontaro_linux_${ARCH}.tar.gz" prontaro
install -m 0755 prontaro ~/.local/bin/prontaro
rm prontaro "prontaro_linux_${ARCH}.tar.gz" SHA256SUMSSign in and verify
Sign in with prontaro login (on a desktop it opens your browser; over SSH or on a headless server it prints a one-time code and approval URL), then check your account and connectivity:
prontaro version
prontaro login --label prod-edge-1
prontaro status
prontaro doctorUntil you open your first tunnel, Servers :443 in prontaro doctor may show not checked — that is expected.
See CLI overview for manual --token login, PRONTARO_KEY in CI, and Diagnostics and error codes for every doctor check.
Run as a systemd service
To keep tunnels alive after closing SSH and start them automatically on boot, install a user unit and enable linger:
prontaro service install -- http 3000 --name api
sudo loginctl enable-linger "$USER"See Background services (Linux & macOS) for --system units, --dry-run, journalctl, zero-downtime systemctl reload, and multi-tunnel run services.
Update and uninstall
Update
Update a standalone install in place with prontaro update. On Linuxbrew, run brew upgrade prontaro/tap/prontaro.
# Check for a newer version without installing
prontaro update --check
# Update in place (use sudo if installed into /usr/local/bin)
prontaro updateRunning tunnels and systemd units keep the old binary until reloaded or restarted. To switch a systemd tunnel service to the new binary without dropping active connections:
systemctl --user reload prontaro-apiUninstall
Remove any installed services first (prontaro service uninstall -- <command>), then sign out and remove the binary, state directory, and completions:
prontaro logout
rm -f ~/.local/bin/prontaro
# If installed for all users with sudo:
# sudo rm -f /usr/local/bin/prontaro
rm -rf "${XDG_CONFIG_HOME:-$HOME/.config}/prontaro"
rm -f "${XDG_DATA_HOME:-$HOME/.local/share}/bash-completion/completions/prontaro"
rm -f "${XDG_CONFIG_HOME:-$HOME/.config}/fish/completions/prontaro.fish"Troubleshooting
prontaro: command not foundafter installing withoutsudo:~/.local/binis not on yourPATH. Addexport PATH="$HOME/.local/bin:$PATH"to~/.bashrcor~/.zshrcand reload your shell.API :443fails behind a corporate firewall: Test with your outbound HTTP proxy:HTTPS_PROXY=http://proxy.example.com:3128 prontaro doctor.- State directory permissions in
prontaro doctor:prontarorefuses to readaccount.jsonor saved tunnel files (bindings/) if they are readable by other users. Fix directory (bindings/,locks/need+x) and file modes separately:find ~/.config/prontaro -type d -exec chmod 700 {} + find ~/.config/prontaro -type f -exec chmod 600 {} + - System service rejected when installed directly as
root(exit code7): whenservice install --systemruns directly asroot(withoutsudo),prontarorequires a binary that non-root users cannot overwrite. Install it into/usr/local/bin/prontaroand re-run:curl -fsSL https://prontaro.com/install.sh | sudo sh
Next steps
- Open your first HTTPS tunnel in 2 minutes — expose a local web server over a permanent HTTPS address.
- Background services (Linux & macOS) — full guide to
systemdunits,journalctl,--system, and updates. - prontaro CLI command reference — every subcommand and global flag with terminal examples.
- Diagnostics and error codes — troubleshooting with
prontaro doctorand CLI exit codes.
Something wrong on this page? Contact us