If setup fails, run this first:
npm run doctorThis checks your local environment and prints pass/fail status without changing your system.
Install Xcode Command Line Tools, then retry:
xcode-select --installnpm installPython 3.12+ removed distutils. Install setuptools:
python3 -m pip install --upgrade pip setuptoolsnpm installIf that still fails, install Python 3.11 and point npm to it:
brew install python@3.11npm config set python $(brew --prefix python@3.11)/bin/python3.11npm installTo undo that Python override later:
npm config delete pythonC++ headers are missing/broken, usually due to Xcode CLT issues.
Check toolchain first:
xcode-select -pxcrun --sdk macosx --show-sdk-pathIf either command fails (or the error persists), reinstall CLT:
sudo rm -rf /Library/Developer/CommandLineToolsxcode-select --installThen retry:
npm installIf CLT is installed but the error still appears on newer macOS versions, compile explicitly against the SDK include path:
SDK=$(xcrun --sdk macosx --show-sdk-path)
clang++ -std=c++17 -isysroot "$SDK" -I"$SDK/usr/include/c++/v1" -x c++ - -o /dev/null <<'EOF'
#include <functional>
int main() { return 0; }
EOFnode-pty is native and requires macOS toolchains. Confirm:
- macOS 13+
- Xcode CLT installed
- Python 3 with
setuptools/distutilsavailable
Then retry npm install.
Verify Claude CLI is installed and authenticated:
claude --versionclaudeGrant Accessibility permissions:
- System Settings -> Privacy & Security -> Accessibility
Fallback shortcut:
Cmd+Shift+K
The .app built by npm run dist is unsigned. macOS Gatekeeper blocks unsigned apps by default.
To allow it:
- Open System Settings → Privacy & Security
- Scroll to the security section
- Click Open Anyway next to the Clui CC message
You only need to do this once. This is a local build, not App Store distribution.
The installer requires Whisper for voice input. If it fails:
- Make sure Homebrew is installed:
brew --versionIf not, install it:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Install Whisper manually:
brew install whisper-cli- Rerun the installer:
./install-app.commandRun the steps manually to see the detailed error:
./commands/setup.commandnpm run distIf npm run dist fails, try a clean reinstall:
rm -rf node_modulesnpm installnpm run distExpected when offline. Marketplace needs internet access; core app features continue to work.
Try:
⌥ + SpaceCmd+Shift+K- Confirm app is running from the menu bar tray