If you originally installed to the default locations, you just need to click "next" on each window until it finishes. Make sure you use the same installation and symlink folder. It will safely overwrite the files it needs to update without touching your node.js installations. To upgrade nvm-windows, run the new installer. yarn) will have to be done for each installed version of node:Įnter fullscreen mode Exit fullscreen mode If NVM4W doesn't appear to work immediately after installation, restart the terminal/powershell.Īfter install, reinstalling global utilities (e.g. There is also a manual option (see manual installation in the wiki). "C:\Users\\AppData\Roaming\npm") to prevent global module conflicts.ĭownload the latest installer (comes with an uninstaller). Delete the existing npm install location (e.g. C:\Users\\AppData\Roaming\npm\etc\npmrc), or copy the settings to the user config C:\Users\\.npmrc. NVM's generated symlink will not overwrite an existing (even empty) installation directory.īackup any global npmrc config (e.g. Delete any existing Node.js installation directories (e.g., %ProgramFiles%\nodejs) that might remain. Uninstall any existing versions of Node.js before installing NVM for Windows (otherwise you'll have conflicting versions). PREREQUISITE: Uninstall existing node
0 Comments
Leave a Reply. |