The CLI
Install burrow, sign in, and run a tunnel.
Install
curl -fsSL https://updater.xeonr.io/74/install.sh | shOn Windows, in PowerShell:
irm https://updater.xeonr.io/74/install.ps1 | iexNo credential needed. Releases are served by the
Xeonr Updater, so installing and upgrading do not depend on
having a token already. Builds exist for Linux, macOS and Windows on amd64 and
arm64, and both scripts verify the published checksum before putting anything
on your PATH. Use these addresses. The older ones on git.prod.wtf no longer
work without a git.prod.wtf sign-in.
The Windows installer lands in %LOCALAPPDATA%\burrow and adds it to your
user PATH, so it needs no Administrator prompt.
Pin a version with BURROW_VERSION=v0.11.0, install the stage channel with
BURROW_TARGET=prerelease, or choose where it lands with BURROW_INSTALL_DIR
(/usr/local/bin or $HOME/.local/bin, or %LOCALAPPDATA%\burrow on
Windows). The updater holds releases from v0.11.0 on.
burrow upgrade # update in place
burrow upgrade --check # only report whether there is a newer one
burrow upgrade --prerelease # track the stage channelburrow upgrade checks the download against the published checksum, and runs
it once, before it replaces the binary. If the install directory is not
writable it re-runs itself under sudo. Versions before v0.11.0 cannot
upgrade in place any more, because they look for releases somewhere that is no
longer public. Run the install command above once to replace one; burrow upgrade works from then on.
From v0.12.1, burrow also tells you when a newer release is out. After a
command succeeds it prints one line on stderr, such as
burrow 0.13.0 is available (current 0.12.0). It asks the updater at most
once a day, and only that daily check can delay a command, by at most a second. It
stays quiet when stderr is not a terminal, under CI, and for burrow version
and burrow upgrade. Set BURROW_NO_UPDATE_CHECK=1 to turn it off.
Xeonr members can also build from source, with a git.prod.wtf credential:
GOPRIVATE=git.prod.wtf go install git.prod.wtf/xeonr/burrow/cli/cmd/burrow@latestSign in
burrow loginThis is the OAuth device flow: it prints a code and a link, you approve it in
any browser, and the token is cached in ~/.config/burrow/config.json (mode
0600) and refreshed silently. It works over SSH, where a browser callback
cannot.
Several burrow commands running at once share one refresh: the first to
need it renews the session and the others use the result. A running tunnel
renews its token whenever it reconnects. If Xeonr Auth refuses the refresh
(you signed out elsewhere, or the session was revoked), the CLI forgets the
session and says your session has expired — run burrow login. If Auth
can't be reached, it says could not renew your session (it is kept; try again), and your sign-in is still there for the next command.
For CI, create a team API key in the console (or with burrow tokens create)
and set it instead:
export BURROW_TOKEN=xk_…A burrow_tok_… token from before October 2026 still works in the same place.
A team API key opens any name in the team. When CI or a device only ever serves one reserved name, give it an agent credential for that name instead. It opens that name's tunnel and nothing else, with the name's own access policy, and it is refused by every other API method:
burrow names credential create previews --label ci --expires 90
BURROW_TOKEN=xk_… burrow http 3000 # serves previews, whatever --name says
burrow names credential ls previews
burrow names credential revoke previews <id>The console has the same panel, under Credentials on the name. Minting and revoking need the editor role, and no API key can do either. Revoking a credential closes the tunnel it opened, and deleting the name revokes all of its credentials. A name another product manages gets its credentials from that product (more).
Commands
burrow http <port> | An HTTP tunnel, with the request inspector |
burrow tcp <port> | A TCP tunnel (more) |
burrow udp <port> | A UDP tunnel (more) |
burrow connect <name> | Reach a TCP tunnel — or a UDP one, with --udp — as yourself, with no public port (TCP, UDP) |
burrow log | Search request history (more) |
burrow connections | Connections and UDP flows on your pooled tunnels (more) |
burrow usage | How many bytes your tunnels carried over a window (more) |
burrow filters ls / rm | Searches you have saved (more) |
burrow tunnels ls | What your team has up right now |
burrow sessions ls | Every time a tunnel has connected, newest first |
burrow audit | Who changed what in your team |
burrow names ls / reserve / release | Reserved names. A name another product manages is marked, and does not count towards the limit (more) |
burrow names credential create / ls / revoke <name> | Agent credentials that serve one name and nothing else (more) |
burrow names retention <name> <days> | How long that name's traffic is kept (more) |
burrow leases | Slugs and ports being held for you |
burrow domains add / verify / ls / rm | Custom domains |
burrow tokens ls / create / rm | Team API keys |
burrow whoami, burrow version, burrow upgrade |
Global flags: --team (when you are in more than one), --console, --no-tui.
History: what you get, and how much
burrow tunnels ls is the live view — what is up right now. burrow sessions ls is the record of every time an agent connected, including the ones that
have ended, with how long each lasted and which agent version it was.
burrow audit is the team's change log: names reserved and released, API
keys created and revoked, domains added and verified, and who did each.
By default it lists only changes that happened. An attempt that was refused,
such as a viewer trying to reserve a name or a request that failed validation,
is recorded too. burrow audit --failures lists those as well, with a RESULT
column: ok for a change, refused (permission_denied) and the like for an
attempt that was turned away, failed (…) for one that broke. Every member of
the team can see them. Only the error code is shown, never the message. The
console's Activity page marks them the same way.
Sessions are kept for 90 days. The audit log is stored in the Xeonr
platform audit log and follows that log's retention rather than burrow's. Both
take --limit (default 100) rather than printing everything, the same way
burrow log does. When the limit rather than the end of the record is what
stopped it, you are told on stderr:
(stopped at --limit 100; there is more)Both also take --since to bound the window, and --json for one object per
line. --since has no default here, unlike burrow log's 24 hours: "when did
somebody change this" usually has an answer older than you expect, and a silent
default would hide it.
--since takes 30m, 24h or a whole number of days, 7d, on every
command that has it.
burrow audit --since 7d
burrow audit --failures --since 24h
burrow sessions ls --since 24h --json | jq .The inspector
burrow http opens a full-screen view of the requests arriving through the
tunnel: method, path, status, latency, and the detail of whichever one you
select.
burrow brave-otter-4f2a.brw.xnr.app -> :3000 team core-infra public
────────────────────────────────────────────────────────────────────────────
14:22:10 POST /webhooks/stripe 201 38ms
14:22:09 GET /health 200 2ms
14:22:04 POST /webhooks/stripe 500 91ms
────────────────────────────────────────────────────────────────────────────
/ filter y copy url p pause q quit 12 reqs, 1 err--no-tui, and any run whose output is not a terminal, prints one line per
request instead — so burrow http 3000 | tee and CI logs behave.
Two tunnels to the same port
The lease is keyed on what you are exposing, so two tunnels to the same port from one machine would otherwise compete for one name. Give them labels:
burrow http 3000 --label api
burrow http 3000 --label docs