node-gyp

(β˜… 10,685)

Node.js native addon build tool

  • .gitignore
  • .npmignore
  • .release-please-manifest.json
  • addon.gypi
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • commitlint.config.mjs
  • CONTRIBUTING.md
  • eslint.config.js
  • LICENSE
  • macOS_Catalina_acid_test.sh
  • package.json
  • README.md
  • release-please-config.json
  • SECURITY.md
  • update-gyp.py

# Installation Guide

1. Get the code
git clone https://github.com/nodejs/node-gyp

Downloads the entire project code from GitHub to your computer.

cd node-gyp

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
2. If `node-gyp` is called by way of `npm`, *and* you have multiple versions of

Type this command into your terminal and run it.

needs to be added (not needed when run by npm as configured above):

Type this command into your terminal and run it.

Note that in versions of npm before v11 it was possible to use the prefix `npm_config_` for

Type this command into your terminal and run it.

environment variables. This was deprecated in npm@11 and will be removed in npm@12 so it

Type this command into your terminal and run it.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install .

Installs the package published on PyPI directly β€” no need to clone the source.

python <μ‹€ν–‰ν•  파일λͺ…>.py # READMEμ—μ„œ μ •ν™•ν•œ μ‹€ν–‰ 파일λͺ…을 ν™•μΈν•˜μ„Έμš”

Runs the Python script (or module).

βœ… If it runs without errors and prints output in the terminal, it worked.
// repository documentation