View on GitHub


A fork of Homebrew for Linux

Download this project as a .zip file Download this project as a tar.gz file

Linuxbrew is a fork of Homebrew, the Mac OS package manager, for Linux.

Features, usage and installation instructions are summarised on the homepage.

Install Linuxbrew (tl;dr)

Paste at a Terminal prompt:

ruby -e "$(curl -fsSL"

See Dependencies and Installation below for more details.



Paste at a Terminal prompt:

Debian or Ubuntu

sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev


sudo yum groupinstall 'Development Tools' && sudo yum install curl git m4 ruby texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel


Paste at a Terminal prompt:

ruby -e "$(curl -fsSL"

Or if you prefer:

git clone ~/.linuxbrew

Add to your .bashrc or .zshrc:

export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"

You're done!

brew install $WHATEVER_YOU_WANT

What Packages Are Available?

  1. Type brew search for a list.
  2. Or visit to browse packages online.
  3. Or use brew desc to browse packages from the command line.

More Documentation

brew help or man brew or check our documentation.


First, please run brew update and brew doctor.

Second, read the Troubleshooting Checklist.

If you don't read these it will take us far longer to help you with your problem.

Something broke!

Many of the Homebrew formulae work on either Mac or Linux without changes, but some formulae will need to be adapted for Linux. If a formula doesn't work, open an issue on GitHub or, even better, submit a pull request.


Please report security issues to

Who Are You?

Linuxbrew is maintained by Shaun Jackman.

Homebrew's current maintainers are Misty De Meo, Adam Vandenberg, Jack Nagel, Mike McQuaid, Brett Koonce and Tim Smith.

Homebrew was originally created by Max Howell.


Code is under the BSD 2 Clause (NetBSD) license.


We accept tips through Gratipay.

Shaun Jackman for Linuxbrew