doc: add Installing Node.js header in BUILDING.md

PR-URL: https://github.com/nodejs/node/pull/35710
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Pooja D.P 2020-10-19 22:27:32 +04:00 committed by Rich Trott
parent 8f47e697a1
commit 1ba932b183

View file

@ -24,6 +24,7 @@ file a new issue.
* [Unix prerequisites](#unix-prerequisites)
* [macOS prerequisites](#macos-prerequisites)
* [Building Node.js](#building-nodejs-1)
* [Installing Node.js](#installing-nodejs)
* [Running Tests](#running-tests)
* [Running Coverage](#running-coverage)
* [Building the documentation](#building-the-documentation)
@ -299,6 +300,14 @@ project's root directory.
$ sudo ./tools/macos-firewall.sh
```
#### Installing Node.js
To install this version of Node.js into a system directory:
```bash
[sudo] make install
```
#### Running Tests
To verify the build:
@ -458,12 +467,6 @@ To test if Node.js was built correctly:
./node -e "console.log('Hello from Node.js ' + process.version)"
```
To install this version of Node.js into a system directory:
```bash
[sudo] make install
```
#### Building a debug build
If you run into an issue where the information provided by the JS stack trace