Prerequisites
3 min read
Prerequisites
- Time required: 15–30 minutes
- What this does: Makes sure you have everything installed that Claude Code and our toolchain need.
- What you will have after this: Every dependency installed and verified, ready for Claude Code setup.
Step 1: Check your operating system
Claude Code runs on macOS, Linux, and Windows (via WSL2). If you are on Windows, you must install WSL2 first.
macOS or Linux: Skip to Step 2.
Windows:
- Open PowerShell as Administrator
- Type: wsl --install
- Restart your computer
- Open the Ubuntu terminal that was installed
- All remaining steps happen inside this Ubuntu terminal
Step 2: Install Homebrew (macOS only)
Most of our toolchain installs via Homebrew on macOS. Check if you have it:
brew --versionExpected result: Something like Homebrew 4.x.x or higher.
If you get "command not found":
Run
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"If you do not have Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Verify it worked:
brew --versionLinux/WSL: You do not need Homebrew. Package installs use \`apt-get` throughout this guide.
Step 3: Install Node.js (version 18 or higher)
Claude Code requires Node.js. Check if you already have it:
node --versionExpected result: Something like v20.11.0 or higher.
If you get "command not found" or a version below 18:
macOS:
brew install nodeLinux/WSL:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -sudo apt-get install -y nodejsVerify it worked:
node --versionYou should see v18 or higher.
Step 4: Install Git
git --versionExpected result: Something like git version 2.39.0 or higher.
If you get "command not found":
macOS:
brew install gitLinux/WSL:
sudo apt-get install -y gitConfigure git with your identity:
git config --global user.name "Your Full Name"git config --global user.email "your.email@company.com"Step 5: Create a GitHub account and install the GitHub CLI
You need a GitHub account for version control, PR workflows, and the GitHub MCP server.
- Go to https://github.com/ and create an account (or sign in to your existing one)
- Install the GitHub CLI:
macOS:
brew install ghLinux/WSL:
sudo apt-get install -y ghAuthenticate the CLI by running this in the terminal:
gh auth loginFollow the prompts. Choose HTTPS and authenticate via browser.
- Create a Personal Access Token for the GitHub MCP server (used in Machine Setup):
- Go to https://github.com/settings/tokens
- Create a new token (classic) with these scopes: repo, read:org, workflow
- Save the token somewhere secure. You will need it during Machine Setup.
Verify: gh --version git config --global user.name git config --global user.email
All three should return valid results.
Step 6: Install VS Code
- Go to https://code.visualstudio.com/
- Download and install for your operating system
- Open VS Code to confirm it launches
Step 7: Install Python 3 (needed for some MCP servers)
python3 --versionExpected result: Python 3.10 or higher.
If missing:
macOS:
brew install python3Linux/WSL:
sudo apt-get install -y python3 python3-pip python3-venvStep 8: Install uv (Python package manager, needed for Beads MCP)
curl -LsSf https://astral.sh/uv/install.sh | shVerify:
uv --versionStep 9: Have your Anthropic account ready
You need a paid Anthropic account (Pro, Max, Team, or Enterprise) to use Claude Code.
- Go to https://console.anthropic.com/
- Sign in or create an account
- Make sure you have an active paid plan
- Note your API key if you plan to use API access (not needed for standard Claude Code usage with Max plan)
Step 10: Install Google Chrome (needed for Claude in Chrome)
- Go to https://www.google.com/chrome/
- Download and install Chrome
- Sign in to Chrome with your Google account
Note: Claude in Chrome only works on Chrome and Edge. It does NOT work on Brave, Arc, Firefox, or Safari.
Checkpoint: Before you continue
Confirm all of these return valid results by running this in your terminal:
brew --version # any version (macOS only)
node --version # v18+
git --version # v2+
python3 --version # 3.10+
uv --version # any version
code --version # any version (this is VS Code)
gh --version # any versionAll passed? Open Machine Setup and continue.
Sign up to read the full guide
Free access to all 12 workflow guides. No password needed.