

Node.js is a tool that allows your Mac to run JavaScript code outside of a web browser. I promise that's the weirdest command you'll see in this article! 😅 Thanks to Homebrew, the rest are simple.īefore moving on, confirm Homebrew is now installed: brew -version Node and npm
SET UP GIT ON MAC INSTALL
If you don't see a version number, install Homebrew with this command: /usr/bin/ruby -e "$(curl -fsSL )"

SET UP GIT ON MAC MANUAL
This is faster and safer than the manual approach and generally makes your development life easier.įirst, check if Homebrew is already installed: brew -version
SET UP GIT ON MAC UPDATE
Homebrew is a tool that lets you install, update and uninstall software on your Mac from the command line. Instead of installing the next few tools by going to each tool's website, finding the download page, clicking the download link, unzipping the files, and manually running the installer, we’re going to use Homebrew. The result should now be a version number. When the installation finishes, confirm the tools are now installed by rerunning the first command: xcode-select -version Click Install and the package will download and install itself. If the result is not a version number, install the tools with this command: xcode-select -installĪ dialog will appear asking if you'd like to install the tools. To check if the tools are already installed, type the following command in your terminal app and hit return: xcode-select -version

Installing these now will prevent weird errors later. The first thing you'll need to install from the command line are your Mac's command line developer tools. If you aren’t sure which one to pick, choose Hyper.
