# Claude Code — Patched CLI Patched Claude Code CLI for use with custom API endpoints. 15 patches applied. ## Requirements - Node.js v24.13+ ([nodejs.org](https://nodejs.org/)) — updater will auto-install if missing or outdated - Python 3 - Git ## Install ```bash # Install Claude Code npm install -g @anthropic-ai/claude-code # One-line install (from repo root): sudo bash claude/uclaude_update.sh --force ``` ## Update ```bash sudo bash claude/uclaude_update.sh ``` ## Options ```bash sudo bash claude/uclaude_update.sh --check # check for updates sudo bash claude/uclaude_update.sh --force # force reinstall sudo bash claude/uclaude_update.sh --settings-only # only patch settings ``` ## Windows ```cmd claude\uclaude_update.bat ``` ## What's Patched - Custom API endpoint (base URL, auth token) - Custom model picker (configurable model list) - Auth/OAuth bypass for custom endpoints - Telemetry disabled (Datadog, Segment) - Permission prompts auto-accepted - Root/sudo check removed ## Files | File | Purpose | |------|---------| | `uclaude_updater.py` | Main updater — version check, cli.js install, settings patch | | `uclaude_update.sh` | Linux/macOS wrapper | | `uclaude_update.bat` | Windows CMD wrapper | | `uclaude_update.ps1` | Windows PowerShell wrapper | | `uclaude_install.sh` | One-line installer (curl-friendly) | | `patcher.config.json` | API endpoint config (base_url, api_key, models) | | `releases/index.json` | Version index | | `releases/v*/cli.js` | Patched cli.js per version |