I am trying to upgrade my node to version 14.17.1 by running:
npm install -g [email protected]
It succeeds apparently, but when I run node -v, I still get the old version.
Is there an extra step I should take, or am I doing this wrong?
I am trying to upgrade my node to version 14.17.1 by running:
npm install -g [email protected]
It succeeds apparently, but when I run node -v, I still get the old version.
Is there an extra step I should take, or am I doing this wrong?
It is good to use a excellent and proven source. Visit official nodejs.org website and go to:
Other DownloadsPrevious Releases - linkversion whatever You want, on Operating System You actually using. Good Luck ;-)Or install and use nvm
To download, compile, and install the latest release of node, do this:
nvm install node # "node" is an alias for the latest version To install a specific version of node:
nvm install 14.7.0 # or 16.3.0, 12.22.1, etc
node(npmjs.com/package/node), not node itself. Download the required version for the official page and install it. Or usenvmnvmeventually. If you can include that in your answer, I will mark it as accepted answer.