Home/Glossary/What is Homebrew?

What is Homebrew?

Updated · airankrush

Term · Homebrew

Homebrew is the most widely used package manager on macOS. One command installs, upgrades or removes developer tools and software, saving you the effort of hunting down installers on each official website. Its packages come in two kinds: a formula is a command-line tool or library, such as git, node or tmux; a cask is an app with a graphical interface, such as a browser or an editor. On an Apple silicon Mac it is installed in the /opt/homebrew folder and does not alter the files that come with the system. Installing Homebrew itself needs an admin account, and the process asks for the account password once. After that, everyday brew install runs as an ordinary user.

How it relates to renting a remote Mac

The account delivered to you is an admin, so you can install and use Homebrew. This is within what is allowed.

  • Whether it is preinstalled on the machine is whatever your delivery notes say. Type brew --version in Terminal to find out. If it is not there, run the install command from the front page of the Homebrew website.
  • If the system does not yet have the Xcode Command Line Tools, the install script installs them first. That step is a large download, and how fast it goes depends on the line.
  • If Terminal says it cannot find brew after installation, the path has not yet been added to your shell configuration. At the end of the installation two lines of commands are printed on screen. Run them as shown.
  • brew services can hand always-on services such as a database over to the system to manage. It uses launchd underneath.

There is one boundary: do not use Homebrew to install tools that change this Mac's network exit or map ports outward. For more examples of what you can install, see can I install Node, Homebrew and Docker myself?.

FAQ

Do I have to uninstall what I installed with Homebrew before the rental ends?

No. After the rental ends, the platform erases and reinstalls the whole machine. What you need to do is back up the data you need to somewhere off the machine and sign out of the personal accounts you logged in to in each tool.

How is installing software with Homebrew different from the App Store?

The App Store requires signing in to an Apple Account, and its software goes through store review. Homebrew needs no account, is aimed mainly at developer tools, and updates are done by command as well. You can use both at once and they do not interfere with each other.

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · Glossary