One binary. Every workflow.
The tGate CLI runs tunnels, deploys policies, tails logs, replays requests and diffs config — across every environment your team uses. Plus typed SDKs in five languages.
Install once. Use everywhere.
No package managers. No node_modules. No Docker. The tGate CLI is a static Go binary. It runs the same on your laptop, in CI, on a 3-year-old EC2 instance, and inside your cluster as a sidecar.
- ✓Cross-platformLinux x86 + arm64, macOS Intel + Apple Silicon, Windows.
- ✓Auto-updateSelf-updating with signed releases. Pin versions in CI.
- ✓Shell completionBash, zsh, fish, PowerShell — all bundled.
Library calls instead of subprocess invocations.
The CLI is great for humans. The SDKs are great for code. Programmatic tunnel lifecycle, request inspection, policy deploys — fully typed, fully tested, embedded directly in your stack.
- ✓Five languages, one shapeIdentical method names and types across TS, Go, Python, Rust, Java.
- ✓Streaming & async-firstTail logs as iterators. Subscribe to deploys. Cancel cleanly.
- ✓Typed errorsTunnelLimitExceeded, InvalidPolicy — actionable, not strings.
Real workflows, not bash spaghetti.
Replay every failed request from the last 10 minutes against staging.
#!/usr/bin/env bash
START=$(date -u -d '10 min ago' +%s)
curl -s "$API/logs?status=5xx&from=$START" \
-H "Authorization: Bearer $TOK" \
| jq -r '.[].id' \
| while read ID; do
curl -s -X POST "$API/replay/$ID" \
-H "Authorization: Bearer $TOK" \
-d '{"target":"staging"}' \
| jq '{id, status, ms}'
done$ tgate logs query \
--status=5xx --since=10m \
| tgate replay --to=stagingEighteen verbs cover the whole product.
Run, deploy, query, debug, share — all from the same prompt.
tgate run
Start a tunnel from a port, container or compose file.
tgate run :3000tgate logs
Tail, query, export structured logs from any tunnel.
tgate logs tailtgate replay
Replay a request against any environment.
tgate replay rq_...tgate policy
Validate, diff, deploy and roll back routing policies.
tgate policy applytgate share
Generate a shareable preview link with optional auth.
tgate share :3000tgate doctor
Diagnose CLI, network, auth and tunnel health.
tgate doctorThe CLI replaced a Makefile, four bash scripts, and our internal Python wrapper around Kong. Onboarding for a new engineer is now: brew install tgate, log in, you're done.
Install in ten seconds. Live in thirty.
Single binary. No daemon. No config dance. The shortest path from idea to live URL.