aboutsummaryrefslogtreecommitdiff
path: root/installer/install-claude
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-23 11:54:25 -0600
committerCraig Jennings <c@cjennings.net>2026-02-23 11:54:25 -0600
commit6631521d9f45b73f9b4df76db9148d82af8d57b9 (patch)
tree344efeff361b1c8953bd4f56d304a8ec70637899 /installer/install-claude
parentc7608c8ba7757fa49ca02c068a4b0473e7f825dc (diff)
downloadarchangel-6631521d9f45b73f9b4df76db9148d82af8d57b9.tar.gz
archangel-6631521d9f45b73f9b4df76db9148d82af8d57b9.zip
refactor: rename custom/ to installer/ for clarity
The custom/ directory name was an archiso implementation detail. Renamed to installer/ which clearly communicates that this directory contains the installer scripts and utilities that ship on the ISO. Updated all references in build.sh, Makefile, test-install.sh, and README.
Diffstat (limited to 'installer/install-claude')
-rwxr-xr-xinstaller/install-claude24
1 files changed, 24 insertions, 0 deletions
diff --git a/installer/install-claude b/installer/install-claude
new file mode 100755
index 0000000..f312861
--- /dev/null
+++ b/installer/install-claude
@@ -0,0 +1,24 @@
+#!/usr/bin/env 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."