From 1ba932b183f71c87626be7079a459f80c732bfa5 Mon Sep 17 00:00:00 2001 From: "Pooja D.P" Date: Mon, 19 Oct 2020 22:27:32 +0400 Subject: [PATCH] doc: add Installing Node.js header in BUILDING.md PR-URL: https://github.com/nodejs/node/pull/35710 Reviewed-By: Richard Lau Reviewed-By: Rich Trott --- BUILDING.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index d25d92fbfaa3f6..d208965c7c1378 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