Homebrew

Tips and tricks for working with the best package manager for MacOS!

Installation

Most recent instructions on brew.sh

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

Commands

Find app

brew search visual-studio-code

==> Casks
visual-studio                     visual-studio-code βœ”              visual-studio-code@insiders

Get app info

brew info awscli       
      
==> awscli: stable 2.17.27 (bottled), HEAD
Official Amazon AWS command-line interface
https://aws.amazon.com/cli/

Install app

List installed apps


macOS apps

Homebrew can manage macOS apps from the App Store! You just need to install mas first.

Refer to the mas documentation for more info.

Find app

Get app info

Install app

List installed apps


Brew Bundles & Brewfiles

A Brew Bundle is a Brewfile containing all of the apps you wish to install β€” including apps installed via the Mac App Store (if mas was used) and even VS Code extensions!

This is super useful when reimaging or moving to another system.

Generate Brewfile

This creates the Brewfile within the current directory.

Install Bundle

This installs apps from Brewfile

Last updated

Was this helpful?