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: #35710
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
PoojaDurgad authored and targos committed Nov 3, 2020
1 parent a9c0924 commit f269c6c
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 f269c6c

Please sign in to comment.