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.
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 buildThis will generate bin\nvm.exe.