mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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>
This commit is contained in:
parent
8f47e697a1
commit
1ba932b183
1 changed files with 9 additions and 6 deletions
15
BUILDING.md
15
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue