Claude Code · HTML

Environment Installation

Setup guide for Windows & Mac

On this page 25 sections
  1. Windows Installation
  2. Windows Session Protocol
  3. If you installed natively (Git Bash)
  4. 01 Open Git Bash
  5. 02 Navigate to Project
  6. 03 Launch VS Code
  7. 04 Start Live Share
  8. 05 Grant Terminal Access
  9. If you installed with WSL
  10. 01 Open Ubuntu
  11. 02 Navigate to Project
  12. 03 Launch VS Code
  13. 04 Start Live Share
  14. 05 Grant Terminal Access
  15. Mac Installation
  16. 01 Install Homebrew
  17. 02 Install Claude Code
  18. 03 Install VS Code
  19. 04 Verify Setup
  20. Mac Session Protocol
  21. 01 Open Terminal
  22. 02 Navigate to Project
  23. 03 Launch VS Code
  24. 04 Start Live Share
  25. 05 Grant Terminal Access

Windows Installation#

Choose your setup method.

Git Bash + Claude Code — simplest setup, desktop apps just work.

01 Install Git for Windows#

Download from git-scm.com/downloads/win. During installation, keep all defaults (this includes Git Bash).

02 Install Claude Code#

Open PowerShell and run:

Before running install scripts from the internet, read this security guide.

irm https://claude.ai/install.ps1 | iex

* If you see "not recognized" or PATH issues, close and reopen PowerShell.

03 Install VS Code#

Download Visual Studio Code from code.visualstudio.com. Install the Live Share extension.

04 Verify Setup#

Open Git Bash (search "Git Bash" in Start menu) and run:

claude

* This launches Claude Code. You'll authenticate on first use.

Windows Session Protocol#

Repeat these steps at the start of every mentoring session.

If you installed natively (Git Bash)#

01 Open Git Bash#

Open Git Bash from the Windows Start menu (search "Git Bash").

02 Navigate to Project#

Change to your project directory:

cd ~/projects/your-project-name

03 Launch VS Code#

Open VS Code from the terminal:

code .

04 Start Live Share#

In VS Code, click Live Share in the bottom status bar, then click Start Collaboration Session. Copy the link and send it to your mentor.

05 Grant Terminal Access#

In VS Code, open a terminal with Ctrl+` (backtick). Right-click the terminal tab and select Make Read/Write so your mentor can run commands.

If you installed with WSL#

01 Open Ubuntu#

Open Ubuntu from the Windows Start menu. You should see your Ubuntu terminal.

02 Navigate to Project#

Change to your project directory:

cd ~/projects/your-project-name

03 Launch VS Code#

Open VS Code connected to WSL:

code .

* VS Code should show "WSL: Ubuntu" in the bottom-left corner.

04 Start Live Share#

In VS Code, click Live Share in the bottom status bar, then click Start Collaboration Session. Copy the link and send it to your mentor.

05 Grant Terminal Access#

In VS Code, open a terminal with Ctrl+` (backtick). Right-click the terminal tab and select Make Read/Write so your mentor can run commands.

Mac Installation#

Homebrew + Claude Code

01 Install Homebrew#

Homebrew is the package manager for macOS:

Before running install scripts from the internet, read this security guide.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

* Follow the "Next steps" shown after installation to add Homebrew to your PATH.

02 Install Claude Code#

Install the Claude Code CLI directly (no Node.js required):

Before running install scripts from the internet, read this security guide.

curl -fsSL https://claude.ai/install.sh | bash

* Close and reopen Terminal after installation.

03 Install VS Code#

Download Visual Studio Code from code.visualstudio.com. Install the Live Share extension.

04 Verify Setup#

claude

* This launches Claude Code. You'll authenticate on first use.

Mac Session Protocol#

Repeat these steps at the start of every mentoring session.

01 Open Terminal#

Open Terminal from Applications → Utilities, or press Cmd+Space and type "Terminal".

02 Navigate to Project#

Change to your project directory:

cd ~/projects/your-project-name

03 Launch VS Code#

Open VS Code from the terminal:

code .

04 Start Live Share#

In VS Code, click Live Share in the bottom status bar, then click Start Collaboration Session. Copy the link and send it to your mentor.

05 Grant Terminal Access#

In VS Code, open a terminal with Ctrl+` (backtick). Right-click the terminal tab and select Make Read/Write so your mentor can run commands.