Can I upgrade Node.js using command line in Windows?
Perhaps nvm-windows is what you are looking for.
After installing this program on your computer, you will be able to use nvm
command (Node Version Manager) in windows command line and manipulate with node.js versions.
Commands that you probably need are:
nvm install latest
: To install the latest stable version
nvm list available
: Show a list of versions available for download.
nvm use <version>
: Switch to use the specified version.
More information here
GorvGoyl
Personal site & blog: https://gourav.io CV: https://gourav.io/cv
Updated on June 28, 2022Comments
-
GorvGoyl almost 2 years
Is it possible to update
node
using command line/PowerShell in windows 10?Surely, I can download the latest version from the official site and install, but, I'm hoping for a way to do it from
cmd
.Right now, I've
npm
andyarn
installed on my system if that helps.