Current Size:
Chakra BreakPoints
base0px
sm480px
md768px
lg992px
xl1280px
2xl1536px
Current Height:Width
widthpx
heightpx

Subjects

HomeBrew Notes

Date Created: 2020/10/21

Last Update: 2023/02/16

#brew #notes #cheatsheet

What is HomeBrew

The missing package manager for macOS (or Linux)

HomeBrew is or commonly called Brew is an open-source package manger that enables easy managment of Apps and software all from the CLI.

Why use HomeBrew

Software and Package Management

Homebrew centralized and makes the management of packages and apps faster and more straight forward. Software can be installed directly from the CLI rather than going to a download page.

Management of Multiple Versions

HomeBrew simplifies handling multiple versions of languages such as Node and Python.

  • Solutions for manging multiple version of node on macOS

Bulk Management With .Brewfile or .brewfile

Backup Current Packages and Casks

Gits ref for Brewfile

brew bundle dump

Create a Brewfile with a list of all current packages. To install packages from the Brewfile run brew bundle

brew bundle --file=~<path>/Brewfile

CheatSheet

Install

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Get info on a given formula

  • version
  • description
brew info wget

List currently installed packages

brew list

Search for package

brew search <package-name>

Install package or cask

brew install <package-name>

Install cask

brew install. --cask <cask-name>

uninstall package

brew uninstall <package-name>

uninstall

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

Reference

More Notes

All Notes
HomeProjects

Links

Home Articles Notes Projects About Style Guide Site Credits

Contact

 [email protected]

Location

🌎 Earth