@hrzn/cli
v0.9.7
Published
A CLI to tunnel to anywhere you want using [Horizon Tunnel](https://hrzn.run).
Downloads
3,017
Readme
Horizon Tunnel CLI
A CLI to tunnel to anywhere you want using Horizon Tunnel.
Requirements
Make sure you already have a Horizon Tunnel account. If not, create one at https://hrzn.run.
Installation
Run npm install -g @hrzn/cli
or yarn global add @hrzn/cli
or pnpm install -g @hrzn/cli
.
Use
All commands can be run using either hrzn
or horizon
.
To authenticate run horizon login <account-id>
and follow the instructions.
To start a tunnel on a random subdomain run:
horizon tunnel <url-to-tunnel-to>
.
To start a tunnel on a fixed subdomain run:
horizon tunnel <url-to-tunnel-to> --subdomain <subdomain>
.