How To Install Homebrew On Mac OS

HomeBrew is a very useful package management tool on mac os. It can be used to install, update, uninstall, search, list mac os software packages. It make your work simple and clear. But HomeBrew is not installed on mac os by default, you need to install it before use it. This article will tell you how to install and use it.

1.Prerequisites.

Before install homebrew, you should make sure your mac os match below conditions.

  1. Your mac os version should be higher than 10.10.
  2. You had better install Xcode on your mac os, because Xcode will install some command line tools which is needed.

2. Install HomeBrew On Mac.

Install HomeBrew on mac is very easy, just follow below steps.

  1. Open a terminal and type below command in it.
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Then the installation process will start, you can see it download a lot of packages, when you see below message, it means the homebrew installation has been completed successfully.
    Already up-to-date.
    ==> Installation successful!
  3. Verify HomeBrew has been installed successfully. Run command brew help in terminal, then you can see below output, that means homebrew has been installed successfully.
    $ brew help
    Example usage:
      brew search [TEXT|/REGEX/]
      brew info [FORMULA...]
      brew install FORMULA...
      brew update
      brew upgrade [FORMULA...]
      brew uninstall FORMULA...
      brew list [FORMULA...]
      ......
      ......
      ......
READ :   How To Share Wi-Fi And Directory Between MacOS And Win7 Virtual Machine

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.