<aside> 🎯
Your machine, ready for a coding agent. From "I've never opened a terminal" to a fully configured development machine: what each tool does, and how to install it.
</aside>
Last reviewed: 24 September 2026 · product details checked against vendor pages on that date
<aside> ⏱️
Estimated time: ~30 minutes. Prerequisite: Steps 01–04, or a willingness to jump straight into developer tools.
</aside>
Steps 01–04 used visual interfaces: chat, Cowork, and desktop apps. This step moves you to the command line, which gives you more control: version-controlled code, direct terminal access, and a coding agent (Claude Code, Codex, or both) working on your own files.
Not sure you're ready for the terminal? Both vendors offer a way in without one. In the Claude desktop app, click the Code tab, or use claude.ai/code in a browser. In the ChatGPT desktop app, choose Codex, or use chatgpt.com/codex in a browser. Either gives you a taste of what a coding agent can do without a full development environment; start there and come back when you want the full setup.
<aside> 🪟
On Windows or Linux? I wrote this page on a Mac, so the macOS commands are the main path, and each section adds a short Windows and Linux block where a vendor's own instructions differ. Most of it runs natively on Windows, including both coding agents (Claude Code on Windows 10 version 1809 or later, with no WSL needed; Codex, with its own native Windows sandbox), Git, Node.js, and both vendors' desktop apps. Two things do not: Homebrew (section 2 gives WinGet instead), and Claude Code's command sandbox, which is not supported on native Windows and needs WSL 2. If you already work inside WSL, follow the Linux blocks there.
</aside>
What it is: Terminal is the built-in Mac app for controlling your computer by typing commands: moving around your files, running programs, installing tools, and running Git. The shell (the program that interprets your commands) on modern Macs is Zsh; older Macs used Bash. For everyday use they work the same.
How to open it: Press Cmd + Space to open Spotlight, type "Terminal", and press Enter.
On Windows: open PowerShell, the terminal built into Windows: press Win + X and choose Windows PowerShell (or Terminal). Each line starts with something like PS C:\Users\YourName>, and pwd, ls, and cd work there too. On Linux: open your terminal app; the commands below are the same.
The prompt looks something like johndoe@Johns-MacBook ~ %: your username, computer name, and current folder, where ~ is your home folder. You type after the %.
Essential commands:
pwd # shows where you are in the filesystem
ls # lists files in the current folder
cd folder # moves into a folder
cd .. # moves up one level
cd ~ # goes back to your home folder
<aside> 💡
What does # mean? In the terminal and most programming languages, # marks a comment: a note for humans that the computer ignores. When you type a command yourself, you can leave out the # and everything after it.
</aside>
✓ Verify: Run pwd. You should see something like /Users/yourname (C:\Users\yourname on Windows, /home/yourname on Linux).
What it is: Homebrew is a package manager for Mac: it installs, updates, and removes other software for you, like an App Store for developer tools that you drive by typing commands.