nvm-windows

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

MIT License

Stars
37.3K
Committers
73

Bot releases are hidden (Show)

nvm-windows - v1.1.12 Latest Release

Published by coreybutler 11 months ago

What's Changed

New Contributors

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

nvm-windows - v1.1.11

Published by coreybutler over 1 year ago

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

nvm-windows - 1.1.10

Published by coreybutler almost 2 years ago

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

nvm-windows - 1.1.9

Published by coreybutler almost 3 years ago

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.

nvm-windows - 1.1.8 - Corepack

Published by coreybutler about 3 years ago

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.

nvm-windows - 1.1.7 - Maintenance Release

Published by coreybutler about 6 years ago

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
nvm-windows - 1.1.6

Published by coreybutler over 7 years ago

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

nvm-windows - 1.1.5

Published by coreybutler over 7 years ago

A hotfix to support the newer node version categorization logic.

nvm-windows - Hotfix

Published by coreybutler over 7 years ago

Merged #269 to fix #268 (issue retrieving latest version of Node)

nvm-windows - 1.1.3

Published by coreybutler over 7 years ago

This is a patch update, fixing some mirroring issues, courtesy of PR #251. A nice new benefit is rollback support when a download fails.

nvm-windows - v1.1.2

Published by coreybutler over 7 years ago

This version fixes an issue with the nvm ls available feature, which was not showing current versions properly.

It is now possible to add an --insecure flag to installations if you need to bypass the SSL validation check performed against the remote server. This is an insecure process where mitm attacks can occur, so it is not enabled by default. This should only be used with trusted download sources.

nvm-windows - v1.1.1

Published by coreybutler over 8 years ago

  • Removed need for Nodedistro feed. Now relies on official version feed from nodejs.org/dist/index.json.
  • Added support for vX.X.X (automatically strips the v)
  • Merged support for alternative download mirrors.
  • Modified the output of nvm ls available to display a pretty table, up to 20 results. Displays Current, LTS, Stable, and Unstable versions.
  • Merged additional PR's with general fixes.
  • Installer: Removed option to open command prompt upon completion (because it was buggy).
nvm-windows - v1.1.0

Published by coreybutler about 9 years ago

Merged support for Node v4.x.

nvm-windows - v1.0.6

Published by coreybutler almost 10 years ago

A hotfix release to resolve issue #15.

nvm-windows - v1.0.5

Published by coreybutler about 10 years ago

Feature Updates:

  • nvm use 32|64 "quick switching" from 32-bit to 64-bit or vice versa.
  • nvm list available provide a list of the versions available for download.

Fixes:

  • Added proper support for 32-bit operating systems.

Misc:

  • Build process now uses goxc to target platform and architecture.
nvm-windows - v1.0.4 (Patch)

Published by coreybutler about 10 years ago

This is a bug fix & tooling release.

  • Fixed Issue #8. Now nvm use 32 or nvm use 64 properly overrides the default architecture.
  • Added a build script for releases.
nvm-windows - v1.0.3

Published by coreybutler about 10 years ago

  • Added proxy support
  • Added multiple-architecture support (32 & 64-bit options)
  • Several bug fixes

The installer has been upgraded with a few new features. If node.js is already installed, you'll be provided an option to let nvm control it. As a result, you no longer have to uninstall node.js before installing NVM for Windows.

There are now two downloads.

nvm-setup.zip contains the installer and the full application.
nvm-noinstall.zip contains the nvm.exe and required files for a manual installation. See the wiki for additional instructions.

nvm-windows - 1.0.2 (Installer Patch)

Published by coreybutler about 10 years ago

A patch for the installer to better support integration with existing node.js installations.

nvm-windows - v1.0.1

Published by coreybutler about 10 years ago

A minor patch to fix issue #1.

nvm-windows - v1.0.0

Published by coreybutler about 10 years ago

The initial release supports installation of multiple versions of node.js. This coincides with the release of the node/npm distribution list.

Download and extract the zip (it only contains one file, nvm-setup.exe). Run the installer and start using nvm for Windows.

Package Rankings
Top 3.36% on Proxy.golang.org
Badges
Extracted from project README
Download Now GitHub tag (latest SemVer) Discuss Twitter URL