Installation (MacOS)
MacOS Installation Instructions
Terminal Emulator
MacOS's default Terminal.app is good enough but if you want something better, install iTerm2.
homebrew Package Manager
homebrew Package ManagerIf at any point you get any errors, just ask for help.
In your terminal run:
xcode-select --installIn your browser, go to brew.sh
Copy the installation command
Open iTerm or Terminal.app
Paste the command you copied and press
EnterRead and follow the prompts
When the installation finishes without any errors, if it shows you something similar to this:

then run the commands it asks you to one at a time. Restart (Don't just close the window, QUIT AND RELAUNCH) your terminal then try running:
brew --versionIf the output doesn't say "command not found" then you're good to go. Try running these commands:
brew install cowsay
cowsay hello $(whoami)ZSH
Install the latest version of the Z shell:
brew install zshUse zsh as your default shell:
sudo sh -c "echo $(which zsh) >> /etc/shells" chsh -s $(which zsh)
Restart your terminal.
Install oh-my-zsh:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git and tree
git and treeInstall the git and tree packages.
brew install git treeVSCode code shortcut
code shortcutIn your terminal, run:
which codeif it shows you a path to the
codeprogram, you're good to go otherwise proceed to step 2.Launch Visual Studio Code.
Press
⌘ (Command) + Shift + p.In the input box type
install codeand press Enter.Try step 1 again.
Last updated
Was this helpful?