

Homebrew also provides an online package browser to browse all the available packages for macOS and Linux. To install new formula, you use the following command: $ brew install įor example, to install Node.js default version with Homebrew, you execute the following command: $ brew install node Installing PackagesĮach package in Homebrew is called a Formula. Make sure you always update Homebrew before installing or updating any software. To update Homebrew to its latest version, run the following command in your terminal: $ brew update Follow the instructions printed on the screen to finish the installation.

The above command executes the installer script provided by the Homebrew team. Now you can install Homebrew with the following command: $ ruby -e " $( curl -fsSL )" Xcode is not required to use Homebrew, but some of the packages you install will need Xcode's command-line tools.Įxecute the following command in your terminal to install Xcode's command-line tools package: $ xcode-select -installįollow the instructions on the screen to complete the installation of Xcode's command-line tools. bash or zsh) Installing Homebrewīefore we actually install Homebrew, you need to install Xcode's command-line tools package.
Nodebox on ubuntu how to#
In this article, you'll learn how to install and use Homebrew on your macOS machine. It allows you to download and install binaries, applications, and utilities using your terminal. Homebrew is a popular package manager for macOS operating system.
