Installing HHVM on OSX

Just a quick post on how to install HHVM on OSX Mavericks (Also works on Mountain Lion)

brew tap homebrew/dupes
brew tap homebrew/versions
brew tap mcuadros/homebrew-hhvm
brew install hhvm

I use HHVM locally to speed up composer. A great way to do that is to create a bash alias for composer. To do this, add the following to your ~/.bash_profile file and run source ~/.bash_profile to reload your aliases.

alias composer="hhvm /usr/local/bin/composer"

Now whenever you run composer in your terminal it will be run through HHVM.

More writing

How Claude helped me recover £2,000 from my BMW repair bill 16 Nov 2026 · AI in the team Running my first half marathon 22 Nov 2025 · Life outside work