View on GitHub and download the scripts
Claude Code with Claude Opus 5.5 on macOS 10.15 Catalina
🇪🇸 Versión en español
Status: âś… works. Claude Code in the terminal and in VS Code with current models (
claude-opus-5-5, Fable, Sonnet…) on a Mac running macOS 10.15 Catalina, without upgrading macOS.
| Â | Â |
|---|---|
| System | macOS 10.15.7 Catalina, Intel x86_64 |
| Version that works | CLI @anthropic-ai/claude-code@2.1.112 (pure JS) with its version patched to 2.1.280 · or the current native Claude Code (2.1.330) with bridge dylibs |
| Editor | VS Code 1.94.2 / 1.97.2 + Claude Code extension 1.0.31 → see ../vscode |
| Tested | November 2026 |
Two paths (you can have both):
- CLI 2.1.112 reporting itself as 2.1.280 (steps 1–4). Simplest: only needs Node.js.
- Current native Claude Code (step 5). Needs the Claude Desktop port, which builds the bridge libraries. It’s the real latest version, not a changed version number.
The problem
- Since
@anthropic-ai/claude-code@2.1.114the CLI is no longer pure JavaScript: it wraps a native binary built for macOS 13+. On Catalina:dyld: Symbol not found: __ZTVNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEEE Referenced from: .../native-binary/claude (which was built for Mac OS X 13.0) Expected in: /usr/lib/libc++.1.dylibnpm install -g @anthropic-ai/claude-code@2.1.280doesn’t even shipcli.js:Error: claude native binary not installed. Either postinstall did not run (--ignore-scripts, some pnpm configs) or the platform-native optional dependency was not downloaded (--omit=optional). - The VS Code extension
anthropic.claude-code2.x (e.g. 2.1.323, 2.1.325) bundles the same binary:Claude Code process terminated by signal SIGABRT. - Anthropic’s backend requires CLI ≥ 2.1.280 for
claude-opus-5-5:API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.112 does not support this model; version 2.1.280 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}}}
The solution
- Claude Code CLI 2.1.112 (last pure-JavaScript release) with its version strings changed to
2.1.280. - VS Code extension 1.0.31 (last one without a native binary: it calls the
claudeon your$PATH). - Stop everything from updating it again.
⚠️ Step 1 changes the reported version to get past the
claude_code_version_too_oldcheck. It may stop working without notice and you should read Anthropic’s terms. Step 5 (native Claude Code) changes no version.
Step by step
1. Node.js
Any Node ≥ 18. The test Mac had nvm with Node 22 (~/.nvm/versions/node/v22.23.4) and MacPorts nodejs20 + npm10. The CLI was installed in its own prefix, ~/.npm-global.
2. Claude Code CLI 2.1.112 with patched version
# If you use nvm, remove any claude installed in the active version
npm uninstall -g @anthropic-ai/claude-code 2>/dev/null
# Install 2.1.112 in your global prefix (adjust to your npm prefix)
npm install -g @anthropic-ai/claude-code@2.1.112
# Locate the installed package (example with prefix ~/.npm-global)
CC_DIR="$(npm root -g)/@anthropic-ai/claude-code"
# Backup and patch: rewrite "2.1.112" strings to "2.1.280"
cp "$CC_DIR/cli.js" "$CC_DIR/cli.js.bak"
sed -i '' 's/"2\.1\.112"/"2.1.280"/g' "$CC_DIR/cli.js"
sed -i '' 's/"2\.1\.112"/"2.1.280"/g' "$CC_DIR/package.json"
claude --version
# Should print: 2.1.280 (Claude Code)
cli.js 2.1.112 contains 68 occurrences of 2.1.112.
3. Make the terminal always use the patched CLI
With nvm there may be two claude and $PATH may pick the broken one (symptom in VS Code: some text flashes and the panel closes):
which claude # must be the patched one, e.g. ~/.npm-global/bin/claude
npm uninstall -g @anthropic-ai/claude-code # with nvm's Node active, if it points there
End of ~/.profile on the test Mac:
# MacPorts Installer addition on 2026-11-03_at_20:12:03: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.
export PATH=$HOME/.npm-global/bin:$PATH
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Catalina-compatible Claude Code: must come before nvm's bin
export PATH=$HOME/.npm-global/bin:$PATH
export DISABLE_AUTOUPDATER=1
export CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL=1
~/.claude/settings.json:
{
"model": "claude-opus-5-5",
"env": {
"DISABLE_AUTOUPDATER": "1",
"CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL": "1"
}
}
Don’t run
claude updateornpm install -g @anthropic-ai/claude-code(without a version).
4. Use Opus 5.5
/model claude-opus-5-5
The interactive /model menu only lists models 2.1.112 knew, but the exact ID is accepted. Also: ANTHROPIC_MODEL=claude-opus-5-5 claude or claude --model claude-opus-5-5.
| Model | ID |
|---|---|
| Opus 5.5 | claude-opus-5-5 |
| Fable 5.1 | claude-fable-5-1 |
| Sonnet 4.6 | claude-sonnet-4-6 |
| Opus 4.7 | claude-opus-4-7 |
| Haiku 4.5 | claude-haiku-4-5 |
5. Current native Claude Code (2.1.330) — optional
The Code tab of the Claude Desktop port downloads the current official Claude Code to ~/Library/Application Support/Claude/claude-code/<version>/<hash>/claude.app — a macOS 13 binary that dies with dyld: Symbol not found on Catalina. How it runs anyway:
- Bridge dylibs (
../claude-desktop/compat/), built bybuild.shinto/Applications/Claude.app/Contents/Frameworks/cc-compat/. Each re-exports the system library and adds only what’s missing (37 symbols in total):libcxxCompat.dylib→/usr/lib/libc++.1.dylib+std::basic_stringbuf/basic_stringstreaminstantiations.libSystemCompat.dylib→/usr/lib/libSystem.B.dylib+__ulock_wait2,posix_spawn_file_actions_addfchdir,preadv/pwritev(and2variants).libicuCompat.dylib→/usr/lib/libicucore.A.dylib+ newer ICU functions (ucal_getHostTimeZone,ulistfmt_openForType,unumrf_*,udtitvfmt_formatCalendarToResult,uplrules_selectForRange…).
- Automatic binary rewrite (
__ccFixBininshims/node-shim.js): right after download,install_name_tool -changeto the bridge dylibs + ad-hoc re-signing, so every new version works by itself. - zstd (
fzstd) andfs.globpolyfills to unpackclaude.app.tar.zst.
It also works in the terminal:
CC=$(ls -d ~/Library/Application\ Support/Claude/claude-code/*/*/claude.app/Contents/MacOS/claude | tail -1)
"$CC" --version # 2.1.330 (Claude Code)
alias claude-new="\"$CC\""
Problems we hit
| Symptom | Cause | Fix |
|---|---|---|
{"error_code":"claude_code_version_too_old"} |
Server requires CLI ≥ 2.1.280 | Version patch (step 2) |
dyld: Symbol not found: __ZTVNSt3__115basic_stringbuf… |
Native binary for macOS 13 | CLI 2.1.112 (JS) or bridge dylibs (step 5) |
Error: claude native binary not installed |
npm i -g …@2.1.280 on Catalina has no cli.js |
Don’t install ≥ 2.1.114 via npm |
| VS Code: text flashes and the panel closes | $PATH finds nvm’s broken claude |
Remove it from nvm, put ~/.npm-global/bin first |
“It worked last night, not this morning” (dyld again in VS Code) |
The CLI reinstalls extension 2.x when it connects to VS Code | autoInstallIdeExtension: false + CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL=1 (../vscode) |
Permission to use Bash has been denied because Claude Code is running in don't ask mode |
defaultPermissionMode: dontAsk |
/config → default or acceptEdits, claude --permission-mode default, or Shift+Tab |
| Claude Code UI is in English | No official UI language setting | Answers can be in your language via ~/.claude/CLAUDE.md |
Revert
CC_DIR="$(npm root -g)/@anthropic-ai/claude-code"
mv "$CC_DIR/cli.js.bak" "$CC_DIR/cli.js"
# or a clean reinstall (careful: @latest won't run on Catalina)
npm install -g @anthropic-ai/claude-code@2.1.112