I want to downgrade my Node version from the latest to v6.10.3
.
But nothing worked so far. Tried NVM and it gives an error as well by saying make command is not found. How can I downgrade Node?
Nodejs can be upgraded or downgraded using different methods some of them are by manually downloading the latest version of node from their official nodejs.org website and the second method is by using nvm which is really helpful in controlling the node version.
To change Node. JS versions, we have to first download the version we want. Make sure you have nvm installed first. If you don't know the version you want to install, type nvm ls-remote to get a full list of all installable Node.
To conclude, the npm program you used to run commands is treated as a package that's installed globally. To downgrade it, you need to overwrite the installed version with the npm install -g npm@<version> command.
Warning: This answer does not support Windows OS
You can use n
for node's version management. There is a simple intro for n
.
$ npm install -g n $ n 6.10.3
this is very easy to use.
then you can show your node version:
$ node -v v6.10.3
For windows nvm is a well-received tool.
For windows:
Steps
Go to Control panel> program and features>Node.js
then uninstall
Go to website: https://nodejs.org/en/ and download the version and install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With