Environment Setup.
A complete guide to setting up your development environment. Follow these steps in order — each tool builds on the previous one.
First, select your operating system:
# What is the Terminal?
The terminal (also called "command line" or "console") is a text-based way to control your computer. Instead of clicking buttons and icons, you type commands. It looks intimidating at first, but it's actually simpler — one command can do what would take 10 clicks in a graphical interface.
Every command you'll copy from this page goes into the terminal. You paste it, press Enter, and the computer does the rest.
How to Open the Terminal
- Spotlight Search (Fastest): Press ⌘ Cmd + Space, type "Terminal", press Enter
- From Finder: Applications → Utilities → Terminal
- Tip: Once you install iTerm2 (below), use that instead — it's better
Anatomy of a Command
brew install node brew— The program you're running (Homebrew package manager)install— What you want it to do (install something)node— What to install (Node.js)
Commands follow this pattern: program action target. Once you see the pattern, they all make sense.
# Install These Tools
Click any row to learn more about what it does. Copy commands with the button on the right.
- [ESSENTIAL] Package Manager Install software from the command line.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"↗ - [AI-CLI] Claude Code AI coding assistant in your terminal.
npm install -g @anthropic-ai/claude-code↗ - [TIPS] Claude Turbo Mode Skip permission prompts (use carefully).
claude --dangerously-skip-permissions
# Verify Installation
After installing everything, run these commands to make sure it all worked:
node -v Should show: v20.x.x or highergit --version Should show: git version 2.x.xpython3 --version Should show: Python 3.x.xclaude --version Should show: claude-code version x.x.xIf any command says "not found", go back and install that tool again. Make sure to open a new terminal window after installing.
# Essential Terminal Shortcuts
These keyboard shortcuts will save you hours. Memorize them.
Navigation
- ⌘ + C — Cancel current command
- ↑ / ↓ — Previous/next command from history
- Tab — Autocomplete file/folder names
- ⌘ + L — Clear screen
Editing
- ⌘ + A — Go to start of line
- ⌘ + E — Go to end of line
- ⌘ + U — Delete entire line
- ⌘ + K — Delete to end of line
VS Code Terminal
- ⌘ + ` — Toggle terminal panel
- ⌘ + Shift + ` — New terminal
- ⌘ + Shift + P — Command palette
# Common Issues
"command not found"
The tool isn't installed, or your terminal doesn't know where to find it. Try:
- Close and reopen your terminal (some installs need this)
- Make sure you installed the tool correctly
- On Windows, make sure you're running inside Ubuntu, not PowerShell
"permission denied"
You need administrator access. Add sudo before the command:
sudo apt install git It will ask for your password. When you type, nothing appears — that's normal for security. Just type and press Enter.
"EACCES: permission denied" (npm)
npm is trying to install to a protected folder. Fix it once with:
sudo chown -R $USER /usr/local/lib/node_modules