Run Claude Code CLI directly in Chrome — side panel terminal with ANSI colors, folder picker, and multi-session support.
Opens Claude Code CLI inside a Chrome side panel (or full tab). No terminal app needed.
Chrome Extension (claudecode-workspace/)
│
│ Native Messaging Host (NMH)
▼
Node.js Companion (claudecode-runtime/)
│
│ PTY (node-pty)
▼
Claude Code CLI
The extension is a renderer only — all state lives in the companion.
The companion spawns Claude Code in a PTY (full terminal emulation) and streams output to Chrome via NMH.
npm install -g @anthropic-ai/claude-code
claude --version
git clone https://github.com/RudraMind/claude-code-chrome.git
cd claude-code-chrome
cd claudecode-runtime
npm install
This installs @homebridge/node-pty-prebuilt-multiarch (PTY emulation). It also runs scripts/setup.js which registers the Native Messaging Host with a placeholder Extension ID — you must complete Step 4 with the real ID before the companion will connect.
chrome://extensionsclaudecode-workspace/ folderWindows:
cd claudecode-runtime
$env:CLAUDE_EXTENSION_ID = "YOUR_EXTENSION_ID_HERE"
node scripts/setup.js
Mac / Linux:
cd claudecode-runtime
CLAUDE_EXTENSION_ID=YOUR_EXTENSION_ID_HERE node scripts/setup.js
Go to chrome://extensions → click ↻ reload on Claude Code Workspace.
Click the Claude Code Workspace icon in your Chrome toolbar. The side panel opens.
Red dot / companion not connected
# Windows (PowerShell)
Get-Content "$env:USERPROFILE\.claudecode-runtime\companion.log" -Tail 50
# Mac / Linux
tail -50 ~/.claudecode-runtime/companion.log
setup.jsClaude Code not found
claude --version # must work in terminal
Folder picker doesn’t appear (Windows)
Blank terminal after launch
pick_folder blocks Node.js event loop while dialog is open (no input/resize during picker)This extension communicates only with a locally-installed companion process on your machine. No data is sent to external servers.
See Privacy Policy.
MIT