Download the .tgz from GitHub Releases, then:
npm install -g ./commandcode-bridge-vX.Y.Z.tgz
commandcode-bridge runOnce installed, update from the bridge itself:
commandcode-bridge updateThe update command fetches the latest release tag from GitHub API, downloads the
.tgz asset, removes the previous install, and runs npm install -g. The API
call is cached locally for 1 hour to avoid rate limits. A restart is required
after updating.
Sync Command Code pricing into your CLI agent configs (OpenCode, Aider, Goose):
commandcode-bridge cost-syncOr use the TUI Cost Sync page ([7] in the dashboard). Pricing is validated
against the live bridge /v1/models before anything is written.
git clone https://github.com/Khip01/commandcode-bridge
cd commandcode-bridge
./build # dart pub get + dart compile exe
./run # TUI mode
./run --server # Headless server modeRequires Dart SDK 3.10+.
| Platform | Status | Clipboard |
|---|---|---|
| Linux | Primary (fully tested) | wl-copy -> xclip -> OSC 52 |
| macOS | Experimental | pbcopy -> OSC 52 |
| Windows | Experimental | clip -> OSC 52 |
- Node.js 18+ (for npm launcher)
- A Command Code account with active plan
- Run
cmd loginto authenticate first