CLI reference

The global keyrouter command is your entry point.

terminalStart

Start with default settings, open the dashboard.
keyrouter
Use a custom port.
keyrouter --port 8080
Do not open the browser.
keyrouter --no-browser
Skip the auto-update check.
keyrouter --skip-update
Show all options.
keyrouter --help

terminalConnect to a remote KeyRouter

Pick tools interactively and write their configs.
npx keyrouter connect http://<server>:20131
Choose tools in advance.
npx keyrouter connect http://<server>:20131 --tools claude,codex
Undo: remove the written configs.
npx keyrouter connect --reset --tools claude,codex

terminalInspect local config

Show config for every supported tool.
keyrouter show
Show config for one tool.
keyrouter show claude
Machine-readable output (key masked).
keyrouter show claude --json