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 9: | Line 9: | ||
* Install [[wget]] software: | * Install [[wget]] software: | ||
** <code>[[brew install]] wget</code> | ** <code>[[brew install]] wget</code> | ||
− | ** <code>[[brew install | + | ** <code>[[brew install postgresql]]@12</code> |
* Uninstall [[wget]] software | * Uninstall [[wget]] software | ||
** <code>[[brew uninstall]] wget</code> | ** <code>[[brew uninstall]] wget</code> |
Revision as of 05:27, 8 September 2022
Homebrew (2009) 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
:
brew update
- Install wget software:
brew install wget
brew install postgresql@12
- 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):
Other commands:
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 upgrade
To autoupdate your brew software, you can use
- homebrew-autoupdate https://github.com/DomT4/homebrew-autoupdate
- Disk usage:
/Users/*/brew/
Related
pkgutil
lsbom
[3] List the contents of an installer's bom (bill of materials) file- Max Howell
- Google Analytics:
brew analytics off
- Ansible: https://docs.ansible.com/ansible/latest/collections/community/general/homebrew_module.html
See also
brew
:update | upgrade | autoupdate
|install
|uninstall
|services
|list
,cask
|cleanup
|doctor
|test
|link
|unlink | changelog
|tap
|info
|search
|install --cask
|analytics off
|--prefix | --version
|brew --help ]
Advertising: