From 3ba8f9d1d497a261362b87997e10af1f4521363f Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Mon, 18 Aug 2025 22:11:57 +0200 Subject: [PATCH] Use Claude Code official installer - Replace Node.js/npm installation with Claude's official installer - Cleaner and handles dependencies automatically --- post-install.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/post-install.sh b/post-install.sh index 07d5e61..e8e9084 100755 --- a/post-install.sh +++ b/post-install.sh @@ -172,14 +172,9 @@ echo "[+] Installing lsd, bat, and fastfetch..." # Try to install fastfetch from repos first dnf install -y fastfetch || echo "fastfetch not available in repos, skipping" -# Install modern Node.js and Claude Code -echo " - Installing modern Node.js..." -# Install Node.js 20 LTS from NodeSource repository -curl -fsSL https://rpm.nodesource.com/setup_20.x | bash - || echo "WARNING: NodeSource setup failed" -dnf install -y nodejs || echo "WARNING: Node.js installation failed" - +# Install Claude Code via official installer echo " - Installing Claude Code..." -npm install -g @anthropic-ai/claude-code || echo "WARNING: Claude Code installation failed" +curl -fsSL https://claude.ai/install.sh | bash || echo "WARNING: Claude Code installation failed" # Install using fixed versions that should work LSD_VERSION="1.0.0"