HHVM's OS X support is intended for development environments; we do not recommend HHVM on OSX in production.
brew tap hhvm/hhvm
# install the latest version of HHVM:
brew install hhvm
# ... or install the latest nightly build:
brew install hhvm-nightly
# ... or install the latest 4.8.z release:
brew install hhvm-4.8
If you need to install multiple versions, look at the documentation for
brew switch, brew link, and brew unlink.
We aim to provide bottles (binary packages) for the two most recent versions of MacOS; as of September 2018, this is Mojave and High Sierra.
Building from source may also work on Sierra; earlier versions of MacOS are not supported as HHVM requires a recent XCode.
If you build from source, this will take anywhere from twenty minutes on a beefy Mac Pro to a couple of hours on a MacBook Air.
- Only issues with the packaging itself which don't require a change to HHVM should be reported here. This includes things like missing dependencies or an out-of-date formula.
- Most issues should be reported
directly to the HHVM project since
they will need to be fixed there. This includes everything from "this code
doesn't work on OS X" to "
--HEADdoesn't build".
homebrew-hhvm is MIT-licensed.