This document provides a cheatsheet for using Brew, the package manager for macOS. It outlines commands for accessing help, managing repositories ("taps"), searching for, installing, and removing packages. It also covers updating Brew and packages, pinning packages to prevent upgrades, and cleaning up older package versions. Additionally, it introduces Brew Cask for installing macOS applications and its similar commands.
This document provides a cheatsheet for using Brew, the package manager for macOS. It outlines commands for accessing help, managing repositories ("taps"), searching for, installing, and removing packages. It also covers updating Brew and packages, pinning packages to prevent upgrades, and cleaning up older package versions. Additionally, it introduces Brew Cask for installing macOS applications and its similar commands.
Brew Help Brew Repositories Brew Search, Install, Remove
Display the version of Homebrew. List all the current tapped repositories (taps) List all the installed formulae. $ brew --version $ brew tap $ brew list Print Help Information Tap a formula repository from Github using https for Display all locally available formulae for brewing. $ brew help tap https://github.com/user/homebrew-repo $ brew search $ brew tap <user/repo> Print Help Info for a brew command Perform a substring search of formulae names for $ brew help <command> Tap a formula repository from the specified URL brewing. $ brew tap <user/repo> <URL> $ brew search <text> Check system for potential problems. $ brew doctor Remove the given tap from the repository Display information about the formula. $ brew untap <user/repo> $ brew info <formula> Brew Updates Install the formula. Brew Cask $ brew install <formula> Fetch latest version of homebrew and formula $ brew update brew-cask provides a homebrew-style CLI workflow Uninstall the formula. for the administration of macOS applications $ brew uninstall <formula> Show formulae with an updated version available distributed as binaries. $ brew outdated Brew Cleanup Upgrade all outdated and unpinned brews Repo: https://github.com/caskroom/homebrew-cask $ brew upgrade Remove older versions of installed formulae. Tap the Cask repository from Github. $ brew cleanup Upgrade only the specified brew $ brew tap caskroom/cask $ brew upgrade <formula> Remove older versions of specified formula. List all the installed casks . $ brew cleanup <formula> Prevent the specified formulae from being upgraded $ brew cask list $ brew pin <formula> Display all formuale that will be removed (dry run) Search all known casks based on the substring text. $ brew cleanup -n Allow the specified formulae to be upgraded. $ brew cask search <text> $ brew unpin <formula> Install the given cask. $ brew cask install <cask> Uninstall the given cask. $ brew cask uninstall <cask> Version 0.2 https://www.code2bits.com
Making A Bootable High Sierra USB Installer Entirely From Scratch in Windows or Linux Mint (Without Access To Mac or App Store Installer - App) - Tutorials (The Genius Bar) - InsanelyMac Forum