Install Git, GitHub CLI, and Claude Desktop on MacOS
A step-by-step guide for people who have never used a terminal. Take your time and follow the steps in order.
Duration
About 45 to 70 minutes.
You will need
Your email, your computer password, and an internet connection.
Main tool
Terminal, opened from Finder -> Applications -> Utilities -> Terminal.
Simple rules to avoid mistakes
- Only download software from the official links shown in this tutorial.
- Copy commands exactly, without adding a period, quote, or leading space.
- If a step takes a while, wait. Many installers stay quiet for several minutes.
- If you get lost, close the window, breathe, then go back to the previous step.
Note about Mac screenshots
If you see odd visual artifacts in some screenshots, that is normal: personal details were erased before publication.
Step 1
Prepare your Mac and open Terminal
Do not worry
- Click the Finder icon.
- In the left column, click Applications.
- Open the Utilities folder.
- Double-click Terminal.
Do not worry
If you see a window with your Mac name and a blinking cursor, that is exactly right.
Step 2
Install Homebrew, the tool that installs other tools
Do not worry
In Terminal, copy and paste this full command, then press Enter:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- If Terminal asks for your Mac password, type it. Characters do not appear: that is normal.
- If Terminal shows Press RETURN/ENTER to continue, press Enter.
- Wait. This can take several minutes.
Important point
At the end, Homebrew may show two lines starting with echo and eval. If so, copy and paste those two lines into Terminal.
Check Homebrew:
brew --versionStep 3
Install Git on MacOS
Do not worry
In Terminal, type:
brew install gitWhen installation is finished, check:
git --versionStep 4
Install GitHub CLI on MacOS
Do not worry
In Terminal, type:
brew install ghCheck:
gh --versionStep 5
Create a GitHub account
Do not worry
- Go to https://github.com/.
- Click Sign up.
- Enter your email address.
- Choose a strong password.
- Choose a username, for example firstname-lastname.
- Verify your email address with the code sent by GitHub.
Security tip
Enable two-factor authentication if GitHub offers it.
Step 6
Authenticate GitHub CLI with HTTPS
Do not worry
In Terminal, type:
gh auth login --web --git-protocol https- Choose GitHub.com if Terminal asks.
- Choose HTTPS if Terminal asks.
- Write down or copy the displayed code.
- In the browser that opens, log in to GitHub.
- Paste the code and authorize GitHub CLI.
Step 7
Install Claude Desktop on MacOS
Do not worry
- Go to https://claude.com/download.
- Click macOS.
- Open the downloaded file, often a .dmg file.
- If a window shows the Claude icon and the Applications folder, drag Claude to Applications.
- Open Finder -> Applications -> Claude.
- Log in with your Claude account, or create one.
Important point
Claude Desktop requires macOS 11 Big Sur or newer.
Final checklist
Official sources
These instructions are based on the official documentation for Git, GitHub CLI, GitHub, and Claude Desktop.