Installation
Prerequisites
- Node.js 18 or later
- Claude Code installed and configured
- An Anthropic API key or subscription
Install
Install PromptBus globally via npm:
Terminal
npm install -g @promptbus/promptbusVerify the installation:
Terminal
promptbus --versionConfigure Claude Code
Run the install command to configure Claude Code to route through PromptBus:
Terminal
promptbus installThis adds ANTHROPIC_BASE_URL=http://127.0.0.1:4701 to your ~/.claude/settings.json. The command shows a diff and asks for confirmation.
Tip: Use the --project flag to configure a specific project's settings instead of the global one:
bash
promptbus install --project /path/to/projectStart PromptBus
Start the proxy and dashboard as a background daemon:
Terminal
promptbus startYou can check the status at any time:
Terminal
promptbus statusExpected output:
Output
PromptBus is running
Proxy: http://127.0.0.1:4701
Dashboard: http://127.0.0.1:4702
Claude Code is configured to use PromptBusUninstall
To stop the daemon and revert the Claude Code configuration:
Terminal
promptbus stop
promptbus uninstall