Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.3 KB

File metadata and controls

32 lines (23 loc) · 1.3 KB

NVM for Windows CLI (nvm.exe)

This is the nvm.exe source code. For details about using this, see the official documentation.

This executable is part of several required for full Node.js verison management.

  • nvm.exe (this repo) is responsible for downloads, (un)installs, caching, and configuration.
  • node.exe (shim/node) is the shim used to run Node.js.
  • proxy.exe (shim/proxy) is the global module shim (npm, npx, custom).
  • reshim.exe (shim/reshim) is a helper utility for syncing shims.
  • sync.exe (private) is a closed source add-on app for identifying updates, releases, and fixes.

Building from Source

This repository depends on the common modules. Clone the common modules repo alongside the CLI. The file structure should look like:

├─ bin (created during build)
├─ common
├─ cli
│  └─ src

This application uses coreybutler's qgo utility.

git clone https://github.com/nvm-windows/cli.git
cd .\src
qgo build

This will generate bin\nvm.exe.