Setting Up Your Environment
API keys, terminals, and the 10-minute setup for every tool.
Every cloud tool needs an API key, and every local tool needs a model runner. Set these up once.
1. Get API keys
- Anthropic (Claude) β console.anthropic.com β API Keys.
- OpenAI (Codex/GPT) β platform.openai.com β API Keys.
- Google (Gemini) β aistudio.google.com β Get API key.
Treat keys like passwords: store them in a .env file that is git-ignored, never in source code.
# .env
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
GEMINI_API_KEY=AIza...
2. Install a modern terminal
- macOS/Linux β your built-in terminal is fine.
- Windows β install Windows Terminal + WSL2 for the best experience, or use Git Bash.
3. Check your toolchain
Most agents work best with a clean, version-controlled project:
git --version
node --version # for JavaScript/Python MCP servers
python3 --version
4. Install a model runner (optional, for local)
# Ollama β the easiest way to run local models
curl -fsSL https://ollama.com/install.sh | sh
ollama run llama3.1
You're now ready to follow any platform lesson in this course.