Skip to main content

nvm install native-tools

Run install_tools.bat from the newest installed Node.js version that includes it.

This is only necessary for compiling native modules.

Large Download

This utility often installs large files (3GB+), alternative installers (like chocolatey), and other runtimes (like Python). This plaintext script is shipped with Node.js. NVM for Windows does not validate it.

Recommendation

Disable this in regulated environments.

Usage​

nvm install native-tools

Arguments​

This subcommand takes no arguments.

Flags​

This subcommand has no flags.

Behavior​

DetailDescription
PolicyBlocked when allow_tool_install is disabled.
DetectionFails when no installed version includes install_tools.bat.
ExecutionRuns via cmd.exe in the detected tools directory.

Example​

nvm install native-tools