May 2018
Intermediate to advanced
492 pages
12h 3m
English
Compiling Node.js from source follows this process:
The source bundle can be downloaded with your browser, or as follows, substituting your preferred version:
$ mkdir src $ cd src $ wget https://nodejs.org/dist/v10.0.0/node-v10.0.0.tar.gz $ tar xvfz node-v10.0.0.tar.gz $ cd node-v10.0.0
Now we configure the source so that it can be built. This is just like many other open source packages, and there are a long list of options to customize the build:
$ ./configure --help
To cause the installation to land in your home directory, run it this way:
$ ./configure ...
Read now
Unlock full access