Compare commits
No commits in common. "98d8bf849d9f2fdeb7500c35e69305981c3139ea" and "6803561016a43c90959823b90dbd1338c6bebb61" have entirely different histories.
98d8bf849d
...
6803561016
5 changed files with 24 additions and 25 deletions
|
|
@ -145,11 +145,6 @@ die Setup-Skripte nicht heruntergeladen werden.
|
||||||
- gitcheck Alias funktioniert in interaktiver Shell (nicht via `zsh -l -c`, das ist normal)
|
- gitcheck Alias funktioniert in interaktiver Shell (nicht via `zsh -l -c`, das ist normal)
|
||||||
- Powerlevel10k Instant Prompt: `POWERLEVEL9K_INSTANT_PROMPT=quiet` muss VOR dem source stehen, nicht in .p10k.zsh (wird sonst ueberschrieben)
|
- Powerlevel10k Instant Prompt: `POWERLEVEL9K_INSTANT_PROMPT=quiet` muss VOR dem source stehen, nicht in .p10k.zsh (wird sonst ueberschrieben)
|
||||||
|
|
||||||
### Claude Code Installation
|
|
||||||
- Installer: `curl -fsSL https://claude.ai/install.sh | bash` (native Binary, kein npm mehr)
|
|
||||||
- npm-Installation ist deprecated seit ~April 2026
|
|
||||||
- Binary landet in `~/.local/bin/claude` (bereits im PATH)
|
|
||||||
|
|
||||||
### Claude Code Multi-Profile
|
### Claude Code Multi-Profile
|
||||||
- Zwei Profile: `claude-priv` (mail@motocamp.de) und `claude-work` (rene@rm202.de)
|
- Zwei Profile: `claude-priv` (mail@motocamp.de) und `claude-work` (rene@rm202.de)
|
||||||
- Config-Dirs: `~/.claude-priv` und `~/.claude-work`
|
- Config-Dirs: `~/.claude-priv` und `~/.claude-work`
|
||||||
|
|
|
||||||
|
|
@ -28,26 +28,24 @@ if [[ -n "$CLAUDE_BIN" ]]; then
|
||||||
else
|
else
|
||||||
issue "claude Binary nicht gefunden"
|
issue "claude Binary nicht gefunden"
|
||||||
info "PATH: $PATH"
|
info "PATH: $PATH"
|
||||||
# Neue Installationsorte pruefen (~/.local/bin, /usr/local/bin)
|
# npm global bin pruefen
|
||||||
for loc in "$HOME/.local/bin/claude" "/usr/local/bin/claude"; do
|
NPM_BIN=$(npm bin -g 2>/dev/null || npm root -g 2>/dev/null | sed 's|/node_modules||')
|
||||||
if [[ -f "$loc" ]]; then
|
if [[ -n "$NPM_BIN" ]]; then
|
||||||
warn "claude liegt in $loc aber ist nicht im PATH"
|
info "npm global bin: $NPM_BIN"
|
||||||
|
if [[ -f "$NPM_BIN/claude" ]]; then
|
||||||
|
warn "claude liegt in $NPM_BIN aber ist nicht im PATH"
|
||||||
fi
|
fi
|
||||||
done
|
fi
|
||||||
info "Fix: curl -fsSL https://claude.ai/install.sh | bash"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ── 2. Installation ────────────────────────────────────────────────────
|
# ── 2. npm Paket ───────────────────────────────────────────────────────
|
||||||
echo -e "\n=== 2. Installation ==="
|
echo -e "\n=== 2. npm Paket ==="
|
||||||
if [[ -n "$CLAUDE_BIN" ]]; then
|
if npm list -g @anthropic-ai/claude-code --depth=0 2>/dev/null | grep -q claude-code; then
|
||||||
ok "Binary vorhanden: $CLAUDE_BIN"
|
|
||||||
elif npm list -g @anthropic-ai/claude-code --depth=0 2>/dev/null | grep -q claude-code; then
|
|
||||||
PKG=$(npm list -g @anthropic-ai/claude-code --depth=0 2>/dev/null | grep claude-code)
|
PKG=$(npm list -g @anthropic-ai/claude-code --depth=0 2>/dev/null | grep claude-code)
|
||||||
warn "Veraltete npm-Installation gefunden: $PKG"
|
ok "Paket installiert: $PKG"
|
||||||
info "Migration: curl -fsSL https://claude.ai/install.sh | bash"
|
|
||||||
else
|
else
|
||||||
issue "claude nicht installiert"
|
issue "@anthropic-ai/claude-code nicht als npm-Globalpaket installiert"
|
||||||
info "Fix: curl -fsSL https://claude.ai/install.sh | bash"
|
info "Fix: npm install -g @anthropic-ai/claude-code"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ── 3. Config-Verzeichnisse ────────────────────────────────────────────
|
# ── 3. Config-Verzeichnisse ────────────────────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ apt install -y \
|
||||||
keepassxc \
|
keepassxc \
|
||||||
kitty \
|
kitty \
|
||||||
htop btop cmatrix libcurses-perl cowsay fortune-mod fortunes-de \
|
htop btop cmatrix libcurses-perl cowsay fortune-mod fortunes-de \
|
||||||
bat eza fd-find fzf ripgrep tldr ncdu duf xclip \
|
bat eza fd-find fzf ripgrep tldr ncdu duf \
|
||||||
timeshift \
|
timeshift \
|
||||||
vlc \
|
vlc \
|
||||||
language-pack-de \
|
language-pack-de \
|
||||||
|
|
|
||||||
|
|
@ -63,9 +63,12 @@ done
|
||||||
fc-cache -f "$FONT_DIR" 2>/dev/null || true
|
fc-cache -f "$FONT_DIR" 2>/dev/null || true
|
||||||
ok "MesloLGS NF Fonts installiert"
|
ok "MesloLGS NF Fonts installiert"
|
||||||
|
|
||||||
# ── 4. Claude Code ──────────────────────────────────────────────────────
|
# ── 4. npm global + Claude Code ─────────────────────────────────────────
|
||||||
echo -e "\n=== 4/8 Claude Code ==="
|
echo -e "\n=== 4/8 Claude Code ==="
|
||||||
curl -fsSL https://claude.ai/install.sh | bash
|
mkdir -p ~/.npm-global
|
||||||
|
npm config set prefix '~/.npm-global'
|
||||||
|
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||||
|
npm install -g @anthropic-ai/claude-code
|
||||||
ok "Claude Code installiert"
|
ok "Claude Code installiert"
|
||||||
|
|
||||||
# ── 5. Flatpak-Apps (Brave + ggf. weitere) ──────────────────────────────
|
# ── 5. Flatpak-Apps (Brave + ggf. weitere) ──────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -63,9 +63,12 @@ done
|
||||||
fc-cache -f "$FONT_DIR" 2>/dev/null || true
|
fc-cache -f "$FONT_DIR" 2>/dev/null || true
|
||||||
ok "MesloLGS NF Fonts installiert"
|
ok "MesloLGS NF Fonts installiert"
|
||||||
|
|
||||||
# ── 4. Claude Code ──────────────────────────────────────────────────────
|
# ── 4. npm global + Claude Code ─────────────────────────────────────────
|
||||||
echo -e "\n=== 4/8 Claude Code ==="
|
echo -e "\n=== 4/8 Claude Code ==="
|
||||||
curl -fsSL https://claude.ai/install.sh | bash
|
mkdir -p ~/.npm-global
|
||||||
|
npm config set prefix '~/.npm-global'
|
||||||
|
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||||
|
npm install -g @anthropic-ai/claude-code
|
||||||
ok "Claude Code installiert"
|
ok "Claude Code installiert"
|
||||||
|
|
||||||
# ── 5. Flatpak-Apps (PrusaSlicer) ──────────────────────────────────────
|
# ── 5. Flatpak-Apps (PrusaSlicer) ──────────────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue