aboutsummaryrefslogtreecommitdiff
path: root/custom/install-claude
diff options
context:
space:
mode:
Diffstat (limited to 'custom/install-claude')
-rwxr-xr-xcustom/install-claude24
1 files changed, 24 insertions, 0 deletions
diff --git a/custom/install-claude b/custom/install-claude
new file mode 100755
index 0000000..e467108
--- /dev/null
+++ b/custom/install-claude
@@ -0,0 +1,24 @@
+#!/bin/bash
+# install-claude - Install Claude Code CLI
+# Run this if you need AI assistance during installation
+
+set -e
+
+echo "Installing Claude Code..."
+
+# Check if npm is available
+if ! command -v npm &>/dev/null; then
+ echo "npm not found. Installing nodejs and npm..."
+ pacman -Sy --noconfirm nodejs npm
+fi
+
+# Install Claude Code globally
+npm install -g @anthropic-ai/claude-code
+
+echo ""
+echo "Claude Code installed successfully!"
+echo ""
+echo "To start Claude Code, run:"
+echo " claude"
+echo ""
+echo "You'll need to authenticate on first run."