
上QQ阅读APP看书,第一时间看更新
Building PhantomJS from source
You may also want to build your own binaries by compiling PhantomJS from source. Sources are hosted in the Github server at https://github.com/ariya/phantomjs.
Before you start downloading sources, you will need these tools installed on your workspace:
The PhantomJS team is always trying to find the optimal way to build the sources, and the build instructions are frequently modified. To build PhantomJS properly, you must follow the steps found here: http://phantomjs.org/build.html.
If you are not planning to hack into PhantomJS code and develop new features, then it is best to download the pre-packaged binaries.