Skip to content

Commit

Permalink
doc: add Installing Node.js header in BUILDING.md
Browse files Browse the repository at this point in the history
PR-URL: nodejs#35710
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
PoojaDurgad authored and Trott committed Oct 22, 2020
1 parent 8f47e69 commit 1ba932b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1ba932b

Please sign in to comment.