We are using debian linux.
You will need to install these open source packages using apt
sudo adduser --disabled-password --gecos "" andrew sudo usermod -aG sudo andrew echo "andrew ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/andrew sudo mkdir -p /home/andrew/.ssh sudo cp /root/.ssh/authorized_keys /home/andrew/.ssh/authorized_keys sudo chown -R andrew:andrew /home/andrew/.ssh sudo chmod 700 /home/andrew/.ssh sudo chmod 600 /home/andrew/.ssh/authorized_keys
#!/bin/bash
set -e
echo "Installing Claude Code..."
curl -fsSL https://claude.ai/install.sh | bash
echo "Setting up Claude configuration..."
mkdir -p ~/.claude
echo <<< EOF
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"apiKeyHelper": "echo $MODEL_ACCESS_KEY",
"env": {
"ANTHROPIC_BASE_URL": "https://inference.do-ai.run",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "anthropic-claude-haiku-4.5"
},
"model": "anthropic-claude-haiku-4.5",
"theme": "dark"
} EOF > ~/.claude/settings.json"
echo " Claude Code installed and configured"
echo ""
echo "Next step: Set your MODEL_ACCESS_KEY"
echo " export MODEL_ACCESS_KEY=\"your-api-key-here\""
echo ""
echo "Then run: claude ."