github.com/coreybutler/nvm-windows
This package has a good security score with no known vulnerabilities.
Community Reviews
Windows-only Node version manager with limited Go package utility
If you're looking to integrate Node version management into a Go application, you'll be disappointed. The repository contains Go code for the implementation, but it's designed to be compiled into a standalone CLI tool, not imported as a dependency. There are no exported functions, no documentation for Go API usage, and no examples showing how to use it as a library.
From a DX perspective, this creates confusion for Go developers searching for version management solutions. The package has zero utility when imported via `go get`, and attempting to use it will result in discovering there's nothing to actually call. If you need nvm functionality on Windows, download the pre-built executable directly rather than treating this as a Go dependency.
Best for: Windows users needing a Node.js version manager CLI tool, not Go library consumers.
Avoid if: You're looking for a Go library to programmatically manage Node versions or need cross-platform Go package integration.
Windows-only tool, not a Go package despite registry listing
If you're looking for this expecting a Go library to programmatically manage Node versions, you'll be disappointed. The actual nvm-windows tool is command-line based and works well for its intended purpose (managing Node installations on Windows), but from a DX perspective as a Go package, it simply doesn't exist in any usable form. The repository contains no documented Go APIs, no type definitions, and no examples of Go integration.
The timestamp shows a future date (2026), which suggests versioning issues. For Go developers needing Node version management programmatically, you'd need to shell out to the nvm-windows executable or look for actual Go libraries that provide this functionality.
Best for: Not applicable as a Go package; Windows users should use the actual nvm-windows CLI tool directly.
Avoid if: You're looking for a Go library to programmatically manage Node versions—this won't meet that need.
Windows tool mispackaged as Go module - not usable as a library
From a security perspective, this creates serious concerns. There's no defined public API surface to audit, no clear contract for input validation, and no library-focused documentation. The codebase is tightly coupled to Windows system calls and registry manipulation without exposed interfaces suitable for library consumption. Error handling is designed for CLI output rather than programmatic use, potentially leaking system paths and configuration details.
Attempting to import this as a dependency will leave you with internal packages not meant for external use, Windows-only code that breaks cross-platform builds, and no guarantee of API stability since it was never designed as a library. If you need programmatic Node.js version management in Go, you'll need to build your own solution or shell out to existing version managers.
Best for: Reference implementation for building Windows system utilities in Go, not for library consumption.
Avoid if: You need a reusable Go library for Node.js version management or any cross-platform Go dependency.
Sign in to write a review
Sign In