This repo contains the shims used in NVM for Windows' "shim" operating mode. For details about using shim mode, see the official documentation.
This repo contains several required executables for full Node.js verison management.
nvm.exe(cli) is responsible for downloads, (un)installs, caching, and configuration.node.exe(node/README.md) is the shim used to run Node.js, including shim-only flags such as--nvm-useand--nvm-which.proxy.exe(this repo) is the global module shim (npm, npx, custom).reshim.exe(this repo) is a helper utility for syncing shims.sync.exe(private) is a closed source add-on app for identifying updates, releases, and fixes.
This application uses a custom build.zig file shared across the shim directories, plus build.zig.zon (package identity; no remote product deps — first-party modules + Zig std + Windows system libs). Build-tool dep: zig-build-sbom for CycloneDX (zig build sbom; see scripts/Export-ZigBuildSbom.ps1).
Build All
.\build.ps1 -Architecture amd64/arm64Export shim SBOM (CycloneDX)
.\scripts\Export-ZigBuildSbom.ps1 -App node -OutputPath .\node.cdx.json -Version 2.0.0-alpha.1Build Node Shim
cd node
.\build.ps1Build Proxy Shim
cd proxy
.\build.ps1Build Reshim App
cd reshim
.\build.ps1