Getting started Install dependencies: hhvm composer.phar install Compile Hack to PHP: ./vendor/bin/hack2php src/index.php That's it! Now you can add more Hack files to src and compile them as described above.