Homebrew (package management software)
Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's macOS operating system and Linux. The name is intended to suggest the idea of building software on the Mac depending on the user's taste. Originally written by Max Howell, the package manager has gained popularity in the Ruby on Rails community and earned praise for its extensibility. Homebrew has been recommended for its ease of use as well as its integration into the command line. Homebrew is a non-profit project member of the Software Freedom Conservancy, and is run entirely by unpaid volunteers.
|Original author(s)||Max Howell|
|Initial release||21 May 2009|
2.1.11 / August 2019
|Operating system||macOS, Linux|
Homebrew has made extensive use of GitHub to expand the support of several packages through user contributions. In 2010, Homebrew was the third-most-forked repository on GitHub. In 2012, Homebrew had the largest number of new contributors on GitHub. In 2013, Homebrew had both the largest number of contributors and issues closed of any project on GitHub.
Homebrew has spawned several sub-projects such as Linuxbrew, a Linux port now officially merged into Homebrew; Homebrew Cask, which builds upon Homebrew and focuses on the installation of GUI applications; and "taps" dedicated to specific areas or programming languages like PHP.
Homebrew was written by Max Howell in 2009. In March 2013, Homebrew successfully completed a Kickstarter campaign to raise funds for servers to test and build formulae and managed to raise £14,859. On December 13, 2013, the Homebrew repository migrated from Howell's GitHub account to its own project account. In February 2015, due to downtime at SourceForge which resulted in binaries being unavailable, Homebrew moved their hosting to bintray. On September 21, 2016, Homebrew version 1.0.0 was released. As of December 2018, Homebrew is maintained by a team of 21 people. In January 2019, Linuxbrew was merged back into Homebrew, adding beta support for Linux and the Windows Subsystem for Linux to Homebrew’s feature set. On February 2, 2019, Homebrew version 2.0.0 was released.
Homebrew is written in the Ruby programming language and targets the version of Ruby that comes installed with the macOS operating system. It is by default installed into
/usr/local and consists of a git repository, allowing the user to update Homebrew by pulling an updated repository from GitHub. The package manager builds software from source using "formulae", Ruby scripts constructed with Homebrew's domain-specific language (DSL) for managing dependencies, downloading source files, and configuring and compiling software. Binary packages called "bottles" provide pre-built formulae with default options.
Homebrew does not honor the default privileges of
/usr/local; directory ownership is changed from root with group permissions for the wheel group to the installing user and the "admin" group. Specifically, the mode changes from
drwxr-xr-x root wheel to
drwxrwxr-x myuser admin. All files, not just the directories, have their ownership changed by the installer. This is considered by some as a major security flaw.
Users can view analytics data from the last 30, 90, and 365 days on the Homebrew website.
- Homebrew release 0.1 on GitHub
- 2.1.11 on GitHub
- Arko, Andre. "Homebrew: OS X's Missing Package Manager". Engine Yard blog. Engine Yard. Archived from the original on July 8, 2015.
- Hoffman, Chris. "Homebrew for OS X Easily Installs Desktop Apps and Terminal Utilities". How-to Geek. Retrieved 24 June 2015.
- Terpstra, Brett. "Homebrew, the perfect gift for command line lovers". Engadget. Retrieved 24 June 2015.
- McQuaid, Mike. "Homebrew/brew/README.md". GitHub. Archived from the original on 5 November 2018. Retrieved 4 December 2018.
- "Popular Forked Repositories". GitHub. Archived from the original on 11 March 2010. Retrieved 24 June 2015.
- "The Octoverse in 2012". GitHub.
- "GitHub Octoverse 2013".
- "Linuxbrew". Linuxbrew. Retrieved 2019-02-02.
- "Linuxbrew Readme". GitHub. Retrieved 2019-03-29.
- "Homebrew Cask". Github. Retrieved 15 April 2019.
- "Homebrew/homebrew-php". GitHub. Retrieved 25 June 2015.
- Howell, Max. "I'll start with a rare Belgian yeast and Sussex hops". GitHub. Retrieved 24 June 2015.
- "brew test-bot". Kickstarter. Retrieved 25 June 2015.
- @MacHomebrew (11 December 2013). "This Saturday morning at 0100 GMT we will be migrating Homebrew" (Tweet) – via Twitter.
- @MacHomebrew (23 February 2015). "Homebrew's bottles (binary packages) are now hosted by @bintray" (Tweet) – via Twitter.
- Homebrew release 1.0.0 on GitHub
- "Homebrew 1.9.0". Homebrew. Retrieved 10 January 2019.
- McQuaid, Mike. "2.0.0". Homebrew. Retrieved 3 February 2019.
- Ounsworth, Mike. "What are the security implications of Homebrew and Macports?". StackExchange Information Security. Retrieved 2 April 2019.
- Phil, Stokes. "How Homebrew invites users to get pwned". AppleHelpWriter.com. Retrieved 2 April 2019.
- "Homebrew's Anonymous Aggregate User Behaviour Analytics". GitHub. 20 September 2016. Archived from the original on 26 November 2016. Retrieved 26 November 2016.
- "Homebrew Analytics Data". Homebrew. Retrieved 1 November 2018.