# 1. Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 2. Install dependencies
brew install git jq
# 3. Install Node.js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
source ~/.zshrc
nvm install --lts
# 4. Install Bun
curl -fsSL https://bun.sh/install | bash
# 5. Install GitHub CLI
brew install gh
# 6. Install Claude CLI
npm install -g @anthropic-ai/claude-code
# 7. Install Locus
npm install -g @locusai/cli
npm install -g @locusai/telegram # optional
# 8. Clone and initialize
git clone https://github.com/owner/repo ~/locus-workspace/repo
cd ~/locus-workspace/repo
locus init
locus config setup --api-key "your-key"
# 9. Start
locus-telegram # in one terminal
locus run # in another