Claude Code: npm-Installation auf nativen Installer umgestellt

npm install -g @anthropic-ai/claude-code ist deprecated.
Neuer Installer: curl -fsSL https://claude.ai/install.sh | bash
Binary landet in ~/.local/bin (kein npm-global-PATH-Setup mehr noetig).
This commit is contained in:
rene 2026-04-02 16:23:20 +02:00
parent 6803561016
commit 40779d1817
4 changed files with 24 additions and 23 deletions

View file

@ -63,12 +63,9 @@ done
fc-cache -f "$FONT_DIR" 2>/dev/null || true
ok "MesloLGS NF Fonts installiert"
# ── 4. npm global + Claude Code ─────────────────────────────────────────
# ── 4. Claude Code ──────────────────────────────────────────────────────
echo -e "\n=== 4/8 Claude Code ==="
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH="$HOME/.npm-global/bin:$PATH"
npm install -g @anthropic-ai/claude-code
curl -fsSL https://claude.ai/install.sh | bash
ok "Claude Code installiert"
# ── 5. Flatpak-Apps (Brave + ggf. weitere) ──────────────────────────────