Skip to content
Sections
Docs

Install with npm

Start an HTTPS tunnel in a Node.js project without a separate installer, or add prontaro through npm.

On this page7

The npm package installs the native prontaro CLI binary for Linux, macOS, and Windows (x64 and arm64). It uses the same commands, saved login, and state directory as the standalone installer.

Run without installing (npx)

Run prontaro directly with npx when you want to test a tunnel or share a local server without installing anything globally:

bash
npx prontaro login
npx prontaro http 3000

npx prontaro works just like the installed CLI. If you run npx prontaro http 3000 before signing in, the CLI prompts you to run npx prontaro login first and then repeat the command.

Install with npm

Install prontaro globally so it is available as a regular terminal command, or add it locally as a project dependency:

Global installbash
npm install -g prontaro
Project-local installbash
npm install --save-dev prontaro

With a global install, sign in and check your account status directly:

bash
prontaro login
prontaro status

With a project-local install, run commands through npx prontaro ... or your package.json scripts. For CI pipelines, containers, and non-interactive authentication via PRONTARO_KEY, see prontaro CLI overview.

Updating and uninstalling

Update an installed package with the command matching how you installed it:

Global installbash
npm update -g prontaro
Project-local installbash
npm update prontaro

When running on demand through npx without a local installation, npm fetches newer versions automatically unless you pin a specific version.

To remove an npm installation, sign out if needed and uninstall the package:

Global installbash
prontaro logout
npm uninstall -g prontaro
Project-local installbash
npm uninstall prontaro

Background services

prontaro service install is not supported when prontaro is installed via npm or run with npx. To run tunnels automatically as a background service, install the CLI with the native installer for Linux, macOS, or Windows.

Troubleshooting

  • Missing @prontaro/cli-<os>-<cpu>: npm skipped the platform binary package — usually because of --omit=optional, a restricted corporate mirror, or a lockfile generated on another OS or architecture. Reinstall without --omit=optional, make sure your registry mirrors @prontaro/* packages, or use the native installer for Linux, macOS, or Windows.
  • Windows EBUSY or EPERM when updating: stop any running tunnels and MCP clients running prontaro mcp so Windows releases prontaro.exe, then retry the update.
  • Using MCP on Windows with a global npm install: @prontaro/mcp looks for the native prontaro.exe binary in PATH and does not launch npm’s prontaro.cmd shim. Configure npx -y prontaro mcp in your MCP client or install the native Windows binary — see Prontaro MCP server.

Licensing

The prontaro CLI binary is free to use as closed-source software under our Terms of Service (§2); the npm launcher wrapper is licensed under MIT.

Next steps

Something wrong on this page? Contact us

Contact us

Enter your email so we can reply.Enter a valid email, e.g. name@company.example.
Tell us what you need or what went wrong.up to 2,000 characters

Sent! We’ll reply to .

Or email us at support@prontaro.com