mirror of
https://github.com/TerrifiedBug/komodo-stacks.git
synced 2026-11-11 08:42:44 +01:00
Repository: admin/code-server Timestamp: 2025-04-20_22-08-54 Target directory: projects/code-server
18 lines
583 B
Bash
18 lines
583 B
Bash
#!/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!"
|