Skip to content

Commit f269c6c

Browse files
PoojaDurgadtargos
authored andcommitted
doc: add Installing Node.js header in BUILDING.md
PR-URL: #35710 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent a9c0924 commit f269c6c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

BUILDING.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ file a new issue.
2424
* [Unix prerequisites](#unix-prerequisites)
2525
* [macOS prerequisites](#macos-prerequisites)
2626
* [Building Node.js](#building-nodejs-1)
27+
* [Installing Node.js](#installing-nodejs)
2728
* [Running Tests](#running-tests)
2829
* [Running Coverage](#running-coverage)
2930
* [Building the documentation](#building-the-documentation)
@@ -299,6 +300,14 @@ project's root directory.
299300
$ sudo ./tools/macos-firewall.sh
300301
```
301302

303+
#### Installing Node.js
304+
305+
To install this version of Node.js into a system directory:
306+
307+
```bash
308+
[sudo] make install
309+
```
310+
302311
#### Running Tests
303312

304313
To verify the build:
@@ -458,12 +467,6 @@ To test if Node.js was built correctly:
458467
./node -e "console.log('Hello from Node.js ' + process.version)"
459468
```
460469

461-
To install this version of Node.js into a system directory:
462-
463-
```bash
464-
[sudo] make install
465-
```
466-
467470
#### Building a debug build
468471

469472
If you run into an issue where the information provided by the JS stack trace

0 commit comments

Comments
 (0)