summaryrefslogtreecommitdiff
path: root/BUILDING.md
diff options
context:
space:
mode:
authorPooja D.P <Pooja.D.P@ibm.com>2020-10-19 22:27:32 +0400
committerRich Trott <rtrott@gmail.com>2020-10-22 05:29:31 -0700
commit1ba932b183f71c87626be7079a459f80c732bfa5 (patch)
treef2db217d0ef275b11c5c0c9f9174460cb01412ed /BUILDING.md
parent8f47e697a19995e0d532326f270bd70ed097f29a (diff)
downloadios-node-v8-1ba932b183f71c87626be7079a459f80c732bfa5.tar.gz
ios-node-v8-1ba932b183f71c87626be7079a459f80c732bfa5.tar.bz2
ios-node-v8-1ba932b183f71c87626be7079a459f80c732bfa5.zip
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>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/BUILDING.md b/BUILDING.md
index d25d92fbfa..d208965c7c 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -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