Node.js Runtime for Windows x64

24.15.0 · active · verified Sun Apr 19

This package provides a specific, pre-compiled Node.js runtime binary for Windows 64-bit systems. It allows developers to bundle a particular Node.js version as a project dependency, ensuring consistent execution environments without requiring a system-wide Node.js installation or relying on version managers. The package tracks various Node.js releases, with the version number (e.g., 24.15.0) directly corresponding to the Node.js version it contains. New major versions typically align with the official Node.js release schedule (April and October). This package is particularly useful for projects requiring strict control over their Node.js runtime, for CI/CD pipelines, or in environments where global Node.js installations are undesirable or restricted. It aims to provide a reliable, isolated Node.js environment within a project's `node_modules` directory.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to install `node-win-x64` and use the bundled Node.js executable for project scripts via `package.json`.

{
  "name": "my-project",
  "version": "1.0.0",
  "scripts": {
    "check-node-version": "node --version",
    "run-script": "node my-script.js"
  },
  "dependencies": {
    "node-win-x64": "24.15.0"
  }
}

// my-script.js
console.log('Hello from Node.js bundled by node-win-x64!');
console.log(`Node.js version: ${process.version}`);
console.log(`Platform: ${process.platform}`);
console.log(`Architecture: ${process.arch}`);

// To run:
// npm install
// npm run check-node-version
// npm run run-script

view raw JSON →