Use Claude Code official installer
- Replace Node.js/npm installation with Claude's official installer - Cleaner and handles dependencies automatically
This commit is contained in:
parent
5de21476ad
commit
3ba8f9d1d4
@ -172,14 +172,9 @@ echo "[+] Installing lsd, bat, and fastfetch..."
|
|||||||
# Try to install fastfetch from repos first
|
# Try to install fastfetch from repos first
|
||||||
dnf install -y fastfetch || echo "fastfetch not available in repos, skipping"
|
dnf install -y fastfetch || echo "fastfetch not available in repos, skipping"
|
||||||
|
|
||||||
# Install modern Node.js and Claude Code
|
# Install Claude Code via official installer
|
||||||
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..."
|
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
|
# Install using fixed versions that should work
|
||||||
LSD_VERSION="1.0.0"
|
LSD_VERSION="1.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user