diff --git a/post-install.sh b/post-install.sh index 4f116f2..71d69f1 100755 --- a/post-install.sh +++ b/post-install.sh @@ -172,7 +172,12 @@ 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 Claude Code globally +# 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" + echo " - Installing Claude Code..." npm install -g @anthropic-ai/claude-code || echo "WARNING: Claude Code installation failed"