Proper way of upgrading nvm from v1.1.7 #953
-
I'm currently on v1.1.7 of nvm and I wanted to double check if I need to follow the old upgrade guide in which I need to remove all existing node.js versions, and then run the updated installer? If so, is there an easy way I can export any global packages for all my installed node versions thru nvm? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No, you do not need to remove old Node.js versions. That is only needed when you're installing NVM4W the first time (assuming a prior "regular" version of Node was installed). You should be able to simply install the latest version over the old version. You can use the main installer or the upgrade installer. Personally, when I'm testing new versions, I just re-run the main installer. |
Beta Was this translation helpful? Give feedback.
No, you do not need to remove old Node.js versions. That is only needed when you're installing NVM4W the first time (assuming a prior "regular" version of Node was installed).
You should be able to simply install the latest version over the old version. You can use the main installer or the upgrade installer. Personally, when I'm testing new versions, I just re-run the main installer.