Install Homebrew On Mac Sierra

A quick side note; Homebrew is not the only way to install command line software, you can install command line tools on a Mac yourself and then compile and make software independently. For example, we discuss installing wget on Mac OS without Homebrew here and it uses the typical configure and make process. All the tricks mentioned here in several answers are not necessary anymore on macOS Sierra, Mojave, Catalina & Big Sur with the latest Homebrew. How to Install Apache on macOS 10.13 High Sierra and 10.14 Mojave using Homebrew Part one of a two part series to set up an Apache/PHP development environment on macOS Casey McMullen. Type the following command to install Node.js and NPM: brew install node. Homebrew downloads and installs the dependencies. When the installation finishes, confirm that you successfully installed Node.js by checking its version: node -v. The system displays the Node.js version as the output of the command.

  1. Install Brew Mac Sierra
  2. Install Homebrew On Mac Sierra Os
  3. Install Homebrew On Mac Sierra Os
  4. Install Homebrew On Mac Sierra Free
  5. Install Homebrew On Mac Sierra Update

Homebrew is the most popular package management tool for macOS systems. Using the brew command line utility you can easily add new packages on your mac, but first, you have to install it. This tutorial will help you to install Homebrew on your system using simple commands.

Sierra

Install Homebrew on macOS

Launch the terminal (/Applications/Utilities/Terminal) application on your system and then run below command on it

The installation process will prompt for the password. Just enter your password where required to complete the Homebrew installation. The process will take some time.

Once the installation completed, execute the below command to check version.

You may also run the below command to ensure everything is configured correctly.

The above command will show the instructions for correcting any issues.

Upgrade Homebrew

To upgrade Homebrew, execute the command below in terminal prompt.

Uninstall Homebrew?

To uninstall Homebrew, execute the command below in a terminal prompt.

Mac

You can also download the uninstall script and run as below to view more uninstall options.

Instructions for a supported install of Homebrew are on the homepage.

This script installs Homebrew to its preferred prefix (/usr/localfor macOS Intel, /opt/homebrew for Apple Silicon and /home/linuxbrew/.linuxbrew for Linux) so thatyou don’t need sudo when youbrew install. It is a careful script; it can be run even if you have stuffinstalled in the preferred prefix already. It tells you exactly what it will do beforeit does it too. You have to confirm everything it will do before it starts.

macOS Requirements

  • A 64-bit Intel CPU or Apple Silicon CPU 1
  • macOS Mojave (10.14) (or higher) 2
  • Command Line Tools (CLT) for Xcode: xcode-select --install,developer.apple.com/downloads orXcode3
  • The Bourne-again shell for installation (i.e. bash) 4

Git Remote Mirroring

You can set HOMEBREW_BREW_GIT_REMOTE and/or HOMEBREW_CORE_GIT_REMOTE in your shell environment to use geolocalized Git mirrors to speed up Homebrew’s installation with this script and, after installation, brew update.

Install Brew Mac Sierra

The default Git remote will be used if the corresponding environment variable is unset.

Alternative Installs

Install Homebrew On Mac Sierra Os

Linux or Windows 10 Subsystem for Linux

How to install homebrew on macos high sierra

Check out the Homebrew on Linux installation documentation.

Untar anywhere

Homebrew

Just extract (or git clone) Homebrew wherever you want. Just avoid:

  • Directories with names that contain spaces. Homebrew itself can handle spaces, but many build scripts cannot.
  • /tmp subdirectories because Homebrew gets upset.
  • /sw and /opt/local because build scripts get confused when Homebrew is there instead of Fink or MacPorts, respectively.

However do yourself a favour and use the installer to install to the default prefix. Some things maynot build when installed elsewhere. One of the reasons Homebrew justworks relative to the competition is because we recommend installinghere. Pick another prefix at your peril!

Install Homebrew On Mac Sierra Os

or

then

Multiple installations

Create a Homebrew installation wherever you extract the tarball. Whichever brew command is called is where the packages will be installed. You can use this as you see fit, e.g. a system set of libs in the default prefix and tweaked formulae for development in ~/homebrew.

Uninstallation

Uninstallation is documented in the FAQ.

Install Homebrew On Mac Sierra Free

1 For 32-bit or PPC support seeTigerbrew.

2 10.14 or higher is recommended. 10.9–10.13 aresupported on a best-effort basis. For 10.4-10.6 seeTigerbrew.

3 Most formulae require a compiler. A handfulrequire a full Xcode installation. You can install Xcode, the CLT, or both;Homebrew supports all three configurations. Downloading Xcode may require anApple Developer account on older versions of Mac OS X. Sign up for freehere.

Install Homebrew On Mac Sierra Update

4 The one-liner installation method found onbrew.sh requires the Bourne-again shell, i.e. bash.Notably, zsh, fish, tcsh and csh will not work.