#!/usr/bin/env bash echo "[custom-init] Installing apt packages..." apt update apt install -y python3 python3-pip python3-venv shellcheck docker.io docker-compose nodejs npm # Install Claude Code globally echo "[custom-init] Installing Claude Code..." npm install -g @anthropic-ai/claude-code # Add npm bin directory to PATH for the current user echo "[custom-init] Adding npm bin directory to PATH" echo "export PATH=\"/config/.npm-global/bin:$PATH\"" >> ~/.bashrc # Source bashrc to make PATH changes effective immediately source ~/.bashrc echo "[custom-init] Setup complete!"