nvm

Developer Tools

A node.js version management utility for Windows. Ironically written in Go.

Latest 1.2.2 · by nvm-windowsWebsitenvm-windows/nvmRSS

Changelog

1.2.2

Latest
Fixed 1
  • Fix for users who install on a drive other than C:\

From nvm

What's Changed

This is a fix for users who install on a drive other than C:\. See this note for details.

Full Changelog: https://github.com/coreybutler/nvm-windows/compare/1.2.1...1.2.2 :office: Attestation Report

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

View originalPermalink
How 1.2.2 went

1.2.0

Added 2
  • Support whitespace and non-ASCII characters in path
  • ARM64 support
Changed 2
  • Bump golang.org/x/sys from 0.0.0-20201018230417-eeed37f84f13 to 0.1.0
  • Bump actions/stale from 8 to 9
Fixed 4
  • Prevent performing changes when trying to use current node version
  • Double slash in URL
  • Typo in the word 'simplicity'
  • Typo in LinkedIn href

From nvm

What's Changed

This is a significant release.

Please see https://opensource.author.io/nvm-for-windows-v120 for an overview of the most important changes.

New Contributors

Full Changelog: https://github.com/coreybutler/nvm-windows/compare/1.1.12...1.2.0 :office: Attestation Report

:bulb: Antivirus Reportnvm.exeauthor-nvm.exenvm-setup.exe

View originalPermalink
How 1.2.0 went
1.1.12

v1.1.12

Changed 2
  • Avoid unnecessary byte/string conversion
  • Allow to run build.bat on paths with spaces
Fixed 3
  • Fix symlink detect if it points to nothing
  • Modified folder detection code against issue 1031
  • Fix issue 932

From nvm

What's Changed
New Contributors

Full Changelog: https://github.com/coreybutler/nvm-windows/compare/1.1.11...1.1.12

:bulb: Antivirus Reportnvm.exenvm-setup.exe

:bulb: Antivirus Reportnvm.exenvm-setup.exe

View originalPermalink
How 1.1.12 went
1.1.11

v1.1.11

Added 1
  • Add experimental debug command for troubleshooting
Changed 1
  • Improve installer when alternate credentials are required for elevation
Fixed 2
  • Fix install.cmd PATH bug
  • Avoid panic after connection failure

From nvm

This is a maintenance release. A new experimental debug command has been added for troubleshooting.

What's Changed
New Contributors

Full Changelog: https://github.com/coreybutler/nvm-windows/compare/1.1.10...1.1.11

View originalPermalink
How 1.1.11 went

1.1.10

Changed 2
  • Reinstate UAC prompts that attempt to run commands without elevation first, then trigger UAC prompt if the command fails
  • Allow nvm use to be called with part of the semver instead of requiring the full version
Fixed 4
  • Update error message when missing version argument
  • Fix missing DisplayVersion registry key for nvm.iss
  • Update inno setup config to correctly report version
  • Fix README.md incorrect element close

From nvm

This is primarily a bug fix release.

Many users have requested UAC prompts be reinstated. NVM4W attempts to run commands without elevation. If this succeeds (i.e. developer mode is enabled and active), the process continues without prompts. If a command fails, an attempt to run it with elevated privileges will trigger the UAC prompt.

What's Changed
New Contributors

A few PR's were manually added, since merging them proved to be difficult after other changes. So, I'd like to give a special thanks to the following folks whose PR's were manually included (but not recognized in the changelog):

Full Changelog: https://github.com/coreybutler/nvm-windows/compare/1.1.9...1.1.10

View originalPermalink
How 1.1.10 went

1.1.9

Added 2
  • Code signed release
  • Add nvm-setup.exe to support winget
Changed 2
  • Update address of china mirror
  • Use Windows defined env vars in all paths in README
Fixed 2
  • Fix broken link to nodejs versions
  • Fix readme links

From nvm

NOTICE: If you downloaded this version before Dec 15, 2021 and are affected by issue #706, please re-download. This fix was not present in the initial binary and has since been corrected.

What's Changed
New Contributors

Full Changelog: https://github.com/coreybutler/nvm-windows/compare/1.1.8...1.1.9

UPDATE 4/27/22

Added nvm-setup.exe after initial release to support winget efforts.

View originalPermalink
How 1.1.9 went
1.1.8

1.1.8 - Corepack

Added 6
  • Support for Node.js corepack feature introduced in Node.js v16.9.0
  • Support for spaces in filepaths
  • nvm install latest command to install the latest patch version of Node
  • nvm install lts command to install the latest LTS patch version
  • nvm use latest, nvm use lts, and nvm use newest commands
  • nvm current command to display the active version
Changed 1
  • Elevated permissions are now applied only when necessary
Fixed 4
  • Read environment variables in settings.txt
  • Compilation issues
  • Major version check
  • Parameterized settings.txt loader for better flexibility

From nvm

NVM for Windows v1.1.8 Notes

Truth be told, I did not want to release this version right now. I am working on the successor project rt, which was supposed to be the last version before the rt release. However, notable changes in the Node ecosystem warrant a new version now.

Node Corepack

In September 2021, Node.js v16.9.0 introduced corepack. This experimental new feature allows transparent use of npm, pnpm, or yarn. To support this feature, NVM4W must download and process a different distribution file than it has used previously.

As a result, NVM for Windows 1.1.8 is being released to support corepack.

How to Upgrade

All files can be found on the release page.

If you do not have NVM for Windows installed Use the instructions in the README.

If you already have an older version of NVM for Windows installed Download nvm-update.zip and extract it. You will find a file called nvm-update.exe. Double click to run it. This will prompt for the version you wish to upgrade to (pre-populated w/ 1.1.8).

nvm-update.exe can also be run from the command line using the /S flag to suppress the prompt. To do this, run nvm-update.exe 1.1.8 /S.

What's New

Several long-requested features/fixes have been merged since v1.1.7. I did not get to test all of them as extensively as I wanted to, but I believe they are stable. These features include:

  1. corepack support (see above)
  2. Support for spaces in filepaths #355 (@s-h-a-d-o-w).
  3. nvm install latest - installs the latest patch version of Node (instead of latest minor).
  4. nvm install lts - installs the latest LTS patch version (new). (@tats-u)
  5. nvm use latest, nvm use lts (@tats-u), and nvm use newest (new) (@EEJesse) now supported.
  6. Elevated permissions applied only when necessary #511 (@rbuckton).
  7. nvm current (new) displays the active version. (@riazXrazor)

Numerous edge case fixes have been applied as well.

  1. Read environment variables in settings.txt (@mscott3)
  2. Compilation fixes (@taaem)
  3. Fix major version check (@rcknight)
  4. Parameterized settings.txt loader (@Himself65)

A number of documentation updates have also been merged.

What didn't make it in?
  1. Aliases - these were originally scheduled for 1.1.8, but I never got to work on them.
WARNING

Version 1.1.8 is not code signed. Code-signed applications are trusted by Windows and will install easily. Users are prompted with a screen like this one:

code signed

Non-code-signed applications can usually be installed, but they will throw a warning like this:

non-code signing

Why?

I paid for the last code signing certificates out of pocket, but they've expired. Sponsorships, to date, haven't even come close to covering the cost of a new code signing certificate (let alone the last one).

Who will this affect?

This won't affect most users, but enterprise users and those distributing NVM4W in corporate environments may run into problems.

If your organization is impacted by this, I will accept sponsorship money to expedite the delivery of a code-signed version. The required EV certificate is about $1000. Please direct message me on Twitter @goldglovecb if you'd like to help cover this cost.

View originalPermalink
How 1.1.8 went
1.1.7

1.1.7 - Maintenance Release

Added 4
  • Silent Setup capability
  • Wildcard major version to latest functionality
  • Code signed executables
  • MD5 checksums in build process
Fixed 2
  • Comparison logic fix
  • Fix for manually removing folder on nvm uninstall

From nvm

Merged several outstanding PR's:

Several documentation PR's were included in the repo as well.

The build process has been updated to provide:

  • Code Signed Executables (courtesy Ecor Ventures/Author.io)
  • MD5 Checksums
View originalPermalink
How 1.1.7 went

1.1.6

Pre-release
Fixed 1
  • Fix issues with spaces and special characters in path names by leveraging Go's native filepath management

From nvm

Leverages Go's native filepath management, which should fix issues with spaces and special characters in path names.

View originalPermalink
How 1.1.6 went
View all

Discussion

If you publish nvm, you can claim this product by proving you administer its repository.