Difference between revisions of "Homebrew"
Jump to navigation
Jump to search
↑ https://github.com/Homebrew/homebrew-cask
↑ https://apple.stackexchange.com/questions/101090/list-of-all-packages-installed-using-homebrew
↑ https://ss64.com/osx/lsbom.html
Line 35: | Line 35: | ||
Upgrade every installed package, see also https://github.com/DomT4/homebrew-autoupdate to autoupdate your software. | Upgrade every installed package, see also https://github.com/DomT4/homebrew-autoupdate to autoupdate your software. | ||
− | * <code>brew upgrade</code> | + | * <code>brew upgrade</code>: <code>brew update && brew upgrate</code> |
To autoupdate your brew software, you can use | To autoupdate your brew software, you can use |
Revision as of 11:10, 16 January 2020
Homebrew is a non Apple official free and open-source software package management system that allows the installation of software on Apple's macOS operating system using the command line terminal.
Basic Usage
To install software there are at least 3 commands: brew install
, brew cask
and brew tap
:
- Install wget software:
brew install wget
- Uninstall wget software
brew uninstall wget
- Install Vagrant GUI software[1], such as Atom or Google Chrome:
brew cask install vagrant
- View info of package:
brew info wget
- Create your own package:
brew create https://foo.com/bar-1.0.tgz
- Get a list of installed packages (formulae in Homebrew terminology):
brew list
[2]brew list --versions
(to include package versions)brew list PACKAGE_NAME
List of file includes in PACKAGE_NAMEbrew cask list
brew bundle
brew leaves
Other commands: brew link
Advanced Usage
- Get a list of files installed with package_name:
brew list package_name
- Search available packages by name:
brew search PACKAGE_NAME_TO_SEARCH
- To autoupdate your software, you can use https://github.com/DomT4/homebrew-autoupdate
Maintenance
Get latest version of brew and package information.
brew update
orbrew update -v
Get a list of not up to date packages:
brew outdated
Upgrade every installed package, see also https://github.com/DomT4/homebrew-autoupdate to autoupdate your software.
brew upgrade
:brew update && brew upgrate
To autoupdate your brew software, you can use
- homebrew-autoupdate https://github.com/DomT4/homebrew-autoupdate
Related commands:pkgutil
See also
- macOS: macOS versions, iTerm2, Homebrew, FileVault, System Integrity Protection,
dscacheutil
,networksetup
, XNU kernel, APFS, diskutil, mdfind, Keychain Access, Growl, Activity Monitor, sidecar, macOS FHS, Apple Notification Center,sw_vers
, Spotlight,pbcopy
, MacOS application firewall,Applesimutils
, Automatic login,security (command)
,codesign
,spctl
, Alfred, Xcode,system_profiler
,log show
, MacOS Preview, Rectangle app, Finder, macOS: Shortcuts, SEP, osascript, macOS profile, UTM,softwareupdate, systemsetup, pmset
, macOS tips, macOS Dock, Automator, SIP, System Preferences,installer, cryptex
, AirPlay, macOs first setup, Universal Control, menu bar, IPSW - Package managers: dpkg, APT, RPM, YUM, DNF, homebrew, pkgutil, opkg, Helm, pkg and snap, npm, Aptitude, alien, Conan, CRAN, Chocolatey, NuGet, PackageKit, Wajig, pacman, PIP, Apache Ivy, List packages, List files in packages, Spack
lsbom
[3] List the contents of an installer's bom (bill of materials) file
Advertising: