Install the following apps on your mac running macOS:
- (standalone) Xcode Command Line Tools
- Homebrew
- Git
Modified from: https://www.moncefbelyamani.com
- Copy and paste the following text into your terminal (and press "return"):
xcode-select --install
- Follow the prompts.
Homebrew is a package manager for macOS/OSX that allows the easy installation of hundreds of open-source tools.
- Copy and paste the following text into your terminal (and press "return"):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Wait for the installation to proceed.
-
To verify the installation, copy and pastethe following text into your terminal (and press "return"):
brew doctor
- You should see,
Your system is ready to brew
printed in the terminal.
Git is pre-installed on macOS, but this step will update your machine to the latest version of git.
- Copy and paste the following text into your terminal (and press "return", after each step):
brew install git
-
Wait for the installation to proceed.
-
To verify the installation, copy and pastethe following text into your terminal (and press "return"):
git --version
-
You should see,
git version 2.18
or later printed in the terminal. -
To update Git at a later stage, copy and paste the following text into your terminal (and press "return"):
brew upgrade git
perfect thank you