An experimental fork of Homebrew for Windows.
- Install MinGW, MSYS, with a C and C++ compiler: http://mingw.org/download/installer
- Install msysgit: http://msysgit.github.io/
- Install Ruby: http://rubyinstaller.org/
- Make sure git and ruby are in your path
git clone https://github.com/nddrylliog/winbrew.git /usr/local
- Add to your
.bashrc
:
export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib
- If necessary, add to your
.profile
:
#!/bin/sh.exe
if [ -f ${HOME}/.bashrc ]
then
. ${HOME}/.bashrc
fi
- Close and re-open your shell, or just `source ~/.bashrc
brew install $WHATEVER_YOU_WANT
MSYS 1.0.18 has introduced a regression where some parallel builds will just hang. The workaround is to downgrade to 1.0.17 for the time being.
- Exit all MSYS processes (close your MinGW shells, etc.)
- Open cmd.exe (Windows standard shell)
- Change directory to your MSYS prefix/bin directory
mingw-get upgrade msys-core-bin=1.0.17-1
For more information, refer to the bug report
- You can browse the Formula directory on GitHub.
- Or type
brew search
for a list. - Or run
brew server
to browse packages off of a local web server. - Or visit braumeister to browse packages online.
- Ruby 1.9.2 or newer
brew help
or man brew
or check the Homebrew wiki.