Simply clone Nexus using git to your chosen directory.
git clone https://github.com/voodooattack/nexusjs.git nexusjs
You need the following:
- CMake 3.3 (or newer)
- g++ 8
- ICU 6.0
- libcurl
- boost
- ruby and perl (for building WebKit)
- xdd (for JavaScript file embedding)
apt-get install build-essential cmake libboost-all-dev curl libcurl4-openssl-dev g++ \
libicu-dev ruby perl xxd libicu60
After making sure you have all the dependencies installed, use CMake to build Nexus.js. I recommend using CCMake (or your favourite CMake UI)
$ cd nexusjs/
$ mkdir build
$ cd build/
$ ccmake ..
$ make
To enable WebAssembly support, invoke the build with the following defined:
cmake -DENABLE_WEBASSEMBLY=ON