CLI for Agents
Daemon Mode
Run a tunnel in the background as a detached process that survives terminal close. Daemon tunnels auto-expire when the TTL runs out.
bash
npx otterkit tunnel <port> --daemon [--ttl <duration>]Available TTLs and pricing:
| TTL | Duration | Price |
|---|---|---|
| 1m | 1 minute | $0.01 |
| 1h | 1 hour (default) | $0.01 |
| 4h | 4 hours | $0.03 |
| 12h | 12 hours | $0.05 |
| 24h | 24 hours | $0.08 |
bash
# 1-minute daemon for quick testing
npx otterkit tunnel 3000 --daemon --ttl 1m
# 4-hour daemon for extended work
npx otterkit tunnel 8080 --daemon --ttl 4h