diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-17 12:59:48 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-17 12:59:48 -0600 |
| commit | 2b691a0907a362bfa2e8a312c1c52078d46c1db4 (patch) | |
| tree | dedd017752a6174523c54f910839f4e24684675a /custom/install-claude | |
| download | archangel-2b691a0907a362bfa2e8a312c1c52078d46c1db4.tar.gz archangel-2b691a0907a362bfa2e8a312c1c52078d46c1db4.zip | |
Initial commit: archzfs ISO build system
Build scripts for creating custom Arch Linux ISO with ZFS support.
Includes installer scripts and VM testing setup.
Diffstat (limited to 'custom/install-claude')
| -rwxr-xr-x | custom/install-claude | 24 |
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." |
