Installing Hack

There are two primary ways to get the Hack beta installed: directly from a pre-built package (recommended) or compiled from source. Once Hack and HHVM is installed, see here for tips on how to start your Hack project.

Pre-Built Package Installation (Recommended)

Install HHVM and Hack from the latest Debian or Ubuntu nightly HHVM package.

Compile From Source

Compile HHVM and Hack from latest master source for a supported distro:

Note: If you are compiling from source, OCaml 3.12 or greater is required on your distro to compile Hack.