Installation Guide
Follow these steps to set up the necessary tools on your computer for AI-assisted development, local projects, and modern web development workflows.
The lazy way: let your AI install things
Install one AI coding tool by hand first (Cursor, Claude Code or Codex, just below). After that, every step on this page has a prompt you can paste into it instead.
Your AI checks what you already have, installs what's missing the right way for your computer, and proves it worked. When it asks permission to run a command, read it and say yes. It stops and tells you what to do when it needs your password or a download you have to click.
AI Coding Tools
Install one or more AI coding assistants to get started
Cursor (AI Code Editor)
Cursor is an AI-powered code editor built on VS Code. Download it from cursor.com and install like any desktop application. Your existing VS Code extensions and settings will carry over.
Claude Code (runs in your terminal)
Claude Code works in your terminal and can handle big, multi-step coding jobs. On a Mac or Linux, paste this into Terminal:
curl -fsSL https://claude.ai/install.sh | bashOn Windows, paste this into PowerShell:
irm https://claude.ai/install.ps1 | iexThen open your project folder in the terminal and start it:
claudeThe first time, it opens your browser so you can sign in. You need a paid Claude plan (Pro, Max, Team or Enterprise) or an Anthropic API account; the free Claude plan doesn't include Claude Code. Installed it the old way with npm? The Claude Code setup docs show how to switch.
Codex (OpenAI's coding agent)
Codex also runs in your terminal, on Mac, Windows and Linux. It needs Node.js (see your system's section below), then:
npm install -g @openai/codexStart it in your project folder and sign in with your ChatGPT account (Plus or above) when it asks:
codexPrefer an app? OpenAI also makes a Codex desktop app. See the Codex docs.
VS Code (Foundation Editor)
Visual Studio Code is the foundation that Cursor is built on. It's free, widely used, and has thousands of extensions. Download from code.visualstudio.com. Many AI extensions (GitHub Copilot, Cline, Continue) can be added to VS Code directly.
macOS Setup
Using Homebrew (Recommended)
1. Install Homebrew (Package Manager)
Check if Homebrew is installed:
brew --versionIf not installed, paste the command from brew.sh into your Terminal and follow the instructions.
Or ask your AI to do it
Check whether Homebrew is installed on this Mac by running brew --version. If it isn't, install it with the official command from brew.sh, then do the "Next steps" the installer prints so brew works in new terminal windows. Finish by running brew --version and telling me the version. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.2. Install Node.js (includes npm)
With Homebrew installed:
brew install nodeNo Homebrew? Download the LTS installer from nodejs.org and run it. Check it worked with node -v: you should see v24 or newer.
Or ask your AI to do it
Check which version of Node.js I have by running node -v. If it's missing or older than v24, install the current LTS version the recommended way for my operating system: Homebrew on a Mac if I have it (otherwise the installer from nodejs.org), winget on Windows, nvm on Linux. Finish by running node -v and npm -v and telling me both versions. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.3. Install Git (Version Control)
Git is often pre-installed. Check with:
git --versionIf it's not installed or you need to update:
brew install gitOr ask your AI to do it
Check whether Git is installed by running git --version. If it isn't, install it the recommended way for my operating system: Homebrew on a Mac, winget on Windows, apt on Ubuntu or Debian. Then check whether my Git name and email are set (git config --global user.name and git config --global user.email). If either is empty, ask me what to use and set it. Finish by telling me the Git version and the name and email it will use. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.4. (Optional) Install the tree command
Useful for visualizing folder structures.
brew install treeOr ask your AI to do it
I want to see a project's folders as a tree in the terminal. On a Mac, install the tree command with Homebrew. On Linux, install it with apt. On Windows, use the tree /f command that is already built in. Finish by showing me this project's folders two levels deep, skipping node_modules and .git. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.Windows Setup
1. Install Node.js (includes npm)
Go to nodejs.org, download the LTS installer (the .msi file), and run it with the default settings. Or, in PowerShell:
winget install OpenJS.NodeJS.LTSClose and reopen PowerShell, then check with node -v: you should see v24 or newer.
Or ask your AI to do it
Check which version of Node.js I have by running node -v. If it's missing or older than v24, install the current LTS version the recommended way for my operating system: Homebrew on a Mac if I have it (otherwise the installer from nodejs.org), winget on Windows, nvm on Linux. Finish by running node -v and npm -v and telling me both versions. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.2. Install Git (Version Control)
Go to git-scm.com, download the installer, and run it. Default settings are usually fine. This installs Git and Git Bash (a handy terminal). Or, in PowerShell:
winget install Git.GitOr ask your AI to do it
Check whether Git is installed by running git --version. If it isn't, install it the recommended way for my operating system: Homebrew on a Mac, winget on Windows, apt on Ubuntu or Debian. Then check whether my Git name and email are set (git config --global user.name and git config --global user.email). If either is empty, ask me what to use and set it. Finish by telling me the Git version and the name and email it will use. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.3. (Optional) The tree command
Windows already has it. This shows the folders and files in the current folder:
tree /fOr ask your AI to do it
I want to see a project's folders as a tree in the terminal. On a Mac, install the tree command with Homebrew. On Linux, install it with apt. On Windows, use the tree /f command that is already built in. Finish by showing me this project's folders two levels deep, skipping node_modules and .git. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.Linux Setup
Ubuntu/Debian-based distributions
1. Install Node.js
Go to nodejs.org/en/download, choose the LTS version, Linux and nvm, and paste the commands it shows into your terminal. They are kept up to date there, so they always install the current LTS.
Or ask your AI to do it
Check which version of Node.js I have by running node -v. If it's missing or older than v24, install the current LTS version the recommended way for my operating system: Homebrew on a Mac if I have it (otherwise the installer from nodejs.org), winget on Windows, nvm on Linux. Finish by running node -v and npm -v and telling me both versions. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.2. Install Git
sudo apt-get install gitOr ask your AI to do it
Check whether Git is installed by running git --version. If it isn't, install it the recommended way for my operating system: Homebrew on a Mac, winget on Windows, apt on Ubuntu or Debian. Then check whether my Git name and email are set (git config --global user.name and git config --global user.email). If either is empty, ask me what to use and set it. Finish by telling me the Git version and the name and email it will use. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.3. Verify installations
node --version && npm --version && git --version4. (Optional) Install the tree command
sudo apt-get install treeOr ask your AI to do it
I want to see a project's folders as a tree in the terminal. On a Mac, install the tree command with Homebrew. On Linux, install it with apt. On Windows, use the tree /f command that is already built in. Finish by showing me this project's folders two levels deep, skipping node_modules and .git. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.Docker Desktop
Required for local PostgreSQL and Supabase development
Docker Desktop runs containers: small, self-contained boxes that hold an app and everything it needs. You'll need it for running local PostgreSQL databases and the Supabase CLI. Download from docker.com.
After installation, Docker Desktop runs in the background. See the Local PostgreSQL Setup page for how to use it with a database.
Or ask your AI to do it
Check whether Docker is installed and running by running docker --version and docker info. If it isn't installed, give me the download link for Docker Desktop for my computer (I'll run the installer myself) and wait until I say it's done. If it's installed but not running, tell me to start Docker Desktop and wait. Finish by running docker run hello-world and telling me whether it worked. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.CLI Tools
Command-line tools for deployment and database management
Supabase CLI
Run a full Supabase stack on your own computer (it needs Docker Desktop running). On a Mac:
brew install supabase/tap/supabaseOn Windows, with Scoop:
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabaseOr add it to just one project with npm install supabase --save-dev and put npx in front of every command, like npx supabase start. Don't use npm install -g supabase: Supabase doesn't support it and it fails.
Or ask your AI to do it
Install the Supabase CLI the supported way for my operating system: Homebrew on a Mac (brew install supabase/tap/supabase), Scoop on Windows (add the supabase bucket, then scoop install supabase), or the official package on Linux. Don't use npm install -g supabase: Supabase doesn't support it. Finish by running supabase --version and telling me the version. Remind me that Docker Desktop must be running before I use supabase start. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.Vercel CLI
Deploy and manage projects on Vercel from your terminal.
npm install -g vercelOr ask your AI to do it
Install the Vercel CLI with npm install -g vercel and check it with vercel --version. Then run vercel login with me. It opens a browser for me to sign in, so tell me when to look. Finish by running vercel whoami and telling me who I'm signed in as. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.GitHub CLI
Manage GitHub repos, PRs, and issues from the command line.
brew install ghWindows: winget install GitHub.cli | Linux: See cli.github.com
Or ask your AI to do it
Install the GitHub CLI the recommended way for my operating system: Homebrew on a Mac (brew install gh), winget on Windows (winget install GitHub.cli), or GitHub's official apt repository on Linux. Check it with gh --version, then run gh auth login with me and explain each choice it asks about in plain words (pick GitHub.com, HTTPS and the browser sign-in). Finish by running gh auth status and telling me which account I'm signed in as. If anything needs my password, an admin prompt, a download I have to click or a restart, stop and tell me exactly what to do, then carry on when I say so. Don't change anything in my project.Enable the JavaScript Console for Debugging
Access developer tools in your browser to inspect issues.
Google Chrome (Desktop - Mac/Windows/Linux)
Usually enabled by default.
- Right-click anywhere on the page and select "Inspect" or "Inspect Element".
- Alternatively, use keyboard shortcuts:
Option + ⌘ + J(Mac) orCtrl + Shift + J(Windows/Linux). - Go to the "Console" tab within the Developer Tools panel.
Safari (macOS)
- Open Safari Settings (
Safari > Settings...or⌘ + ,). - Go to the "Advanced" tab.
- Check the box at the bottom labeled "Show features for web developers".
- Close Settings. The "Develop" menu now appears in the menu bar.
- Right-click on a page and select "Inspect Element" or use the Develop menu (
Develop > Show JavaScript ConsoleorOption + ⌘ + C). - Go to the "Console" tab.
Safari (iOS - iPhone/iPad)
Requires an iPhone/iPad connected to your Mac via a lightning or USB-C cable.
- On the iOS device: Go to
Settings > Safari > Advanced. - Enable "Web Inspector".
- Connect the iOS device to your Mac with an appropriate cable.
- On the Mac: Open Safari.
- Go to the "Develop" menu (enable it first, see macOS steps above).
- Find your iOS device name in the menu, hover over it, and select the specific web page you want to inspect. (Make sure you have a web page open on your iOS device.)
- The Web Inspector window will open on your Mac, showing the console for the page on your iOS device.
Chrome (Android)
Requires a computer with Chrome and a USB connection.
- On the Android device: Enable Developer Options and USB Debugging. (Search online or ask the AI for specific steps for your device model, usually involves tapping the "Build number" in Settings multiple times).
- Connect the Android device to your computer via USB. Open the web page you want to inspect on your Android device.
- On the computer: Open Chrome.
- Navigate to
chrome://inspectin the address bar. - Find your connected device under the "Remote Target" section.
- Click "inspect" below the specific browser tab or WebView you want to debug.
- A DevTools window will open on your computer, showing the console for the page on your Android device.
- You may need to accept a prompt on the Android device to allow USB debugging from your computer.