Difference between revisions of "Homebrew"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
* Install [[wget]] software:  
 
* Install [[wget]] software:  
 
** <code>[[brew install]] wget</code>
 
** <code>[[brew install]] wget</code>
 +
** <code>[[brew install postgresql]]@12</code>
 
* Uninstall [[wget]] software
 
* Uninstall [[wget]] software
 
** <code>[[brew uninstall]] wget</code>
 
** <code>[[brew uninstall]] wget</code>
Line 17: Line 18:
 
* Get a list of installed packages (formulae in Homebrew terminology):  
 
* Get a list of installed packages (formulae in Homebrew terminology):  
 
**<code>[[brew list]]</code><ref>https://apple.stackexchange.com/questions/101090/list-of-all-packages-installed-using-homebrew</ref>
 
**<code>[[brew list]]</code><ref>https://apple.stackexchange.com/questions/101090/list-of-all-packages-installed-using-homebrew</ref>
**<code>[[brew list]] --versions</code> (to include package versions)
+
**<code>[[brew list --versions]]</code> (to include package versions)
 
**<code>[[brew list]] PACKAGE_NAME</code> List of file includes in PACKAGE_NAME
 
**<code>[[brew list]] PACKAGE_NAME</code> List of file includes in PACKAGE_NAME
 
**<code>brew cask list</code>
 
**<code>brew cask list</code>
Line 52: Line 53:
 
== Related ==
 
== Related ==
 
* <code>[[pkgutil]]</code>
 
* <code>[[pkgutil]]</code>
 +
* <code>[[lsbom]]</code><ref>https://ss64.com/osx/lsbom.html</ref> List the contents of an installer's bom (bill of materials) file
 
* [[Max Howell]]
 
* [[Max Howell]]
 
* [[Google Analytics]]: <code>[[brew analytics off]]</code>
 
* [[Google Analytics]]: <code>[[brew analytics off]]</code>
 
* [[Ansible]]: https://docs.ansible.com/ansible/latest/collections/community/general/homebrew_module.html
 
* [[Ansible]]: https://docs.ansible.com/ansible/latest/collections/community/general/homebrew_module.html
 +
[[/opt/homebrew/bin/]]
 +
* [[Snap]], [[flatpak]]
  
 
== See also ==
 
== See also ==
* <code>[[lsbom]]</code><ref>https://ss64.com/osx/lsbom.html</ref> List the contents of an installer's bom (bill of materials) file
 
 
* {{brew}}
 
* {{brew}}
  

Latest revision as of 08:20, 1 April 2024

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[edit]

To install software there are at least 3 commands: brew install, brew cask and brew tap:

Other commands:

Advanced Usage[edit]

Maintenance[edit]

Get latest version of brew and package information.

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.

To autoupdate your brew software, you can use

Related[edit]

/opt/homebrew/bin/

See also[edit]

  • 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
  • Advertising: