The password prompt during the Homebrew install

What this gets you: past the one moment in milestone 01 where the Mac stops and waits for your password. You are sent here from: milestone 01.

Before you start

What the install actually is

Nothing here is hidden, so here is the line Homebrew publishes on its own front page and the line the course's script runs:

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

Homebrew describes that script as a careful one. It prints exactly what it is going to do before it does it. When the course's setup script runs it, Claude answers the routine questions; the password is the one thing that is yours.

Homebrew needs macOS Sonoma (version 14) or newer, and it needs Apple's Command Line Tools, which are a small set of build tools that come from Apple rather than from Homebrew. If those tools are missing, expect the install to fetch them first, which adds several minutes.

Why it wants a password

Homebrew installs itself into a folder that belongs to the whole Mac rather than to you personally. On a newer Mac with an Apple chip, which Apple calls Apple silicon, that folder is /opt/homebrew. On an older Mac with an Intel chip it is /usr/local. macOS guards shared folders like those, and the guard is the password prompt. It is macOS asking you, in person, to approve a change outside your own home folder.

That is also why it happens once. Homebrew puts itself somewhere it can then work without asking again, so later commands like brew install git need no password at all.

Why it is safe

Steps

  1. Stay at the Mac while the bootstrap script runs. At some point a small window appears asking for a password, titled Idea to App Store: workshop setup.
  2. Read the words in it before you type anything. It says that the course setup needs your Mac login password to install Homebrew, and that the password goes straight to macOS. That is the window to answer. A password window saying anything else is not this step, and it should be read out to Claude rather than answered.
the macOS password window titled "Idea to App Store: workshop setup", with its message and the empty password box both readable
  1. Click into the box and type your Mac login password. Dots appear as you type, one per character, which is all anyone can see.
  2. Click the button that confirms it.
  3. Tell Claude that you typed it, then leave the Mac alone while the install runs.

You have five minutes to answer before the window gives up on its own. If it does give up, nothing on the Mac has changed and the script can simply be run again.

Closing or cancelling that window does the same thing: it stops the install and changes nothing. Say so, and Claude runs the script again.

On the terminal route

Day Zero's appendix describes a way of running Claude Code by typing into a terminal window instead of using the app. On that route this same moment looks different, and it is the version that alarms people, so here it is in full.

  1. Watch the terminal while the bootstrap script runs. At some point the scrolling stops and a line appears asking for a password. It usually reads Password: and nothing else.
  2. Type your Mac login password.

Nothing will appear as you type. No dots, no stars, no moving cursor. The line sits there looking exactly as it did before you touched the keyboard. That is how password prompts in a terminal have always worked, and it is the single most common reason people think their Mac has frozen at this moment. Type it at your normal speed and trust it.

  1. Press Return.

  2. If the terminal answers Sorry, try again., type the password once more and press Return again. Three wrong tries is harmless. The prompt comes back and the install continues from where it stopped.

  3. Tell Claude that you typed it, and leave the window alone while the install runs.

If the terminal is waiting for something that is not a password, it says so. Read the line out to Claude rather than typing into it.

What it looks like when it worked

The install carries on by itself. Lines mentioning downloading and installing go past for a few minutes, then the bootstrap script prints its PASS and FAIL table and Claude reads it out to you.

Claude confirms the result with a command of its own, and the answer is a version number:

brew --version

Nothing on your screen ever shows the password, before or after.

If it looks different

The exact wording macOS puts in that window is up to macOS and it changes between versions. The shape is what matters: something stops, something asks for a password, and it is asking so that software can be installed. If that is what you are looking at, type the Mac login password.

A line inside a terminal asking for a password, rather than a window of its own, means you are on the terminal route above. Same password, same answer, and your typing stays invisible there.

If what appears asks for something that is not a password, read it out to Claude rather than typing into it.

If it goes wrong


Checked against: brew.sh and docs.brew.sh/Installation. Last verified: 2026-08-29. Companies move their buttons. When a screen does not match this page, trust what the step accomplishes and tell Claude what you see.