help me update my node js version

i want to update my node js to the latest version using the terminal
5 Replies
bfmv
bfmvOP5mo ago
i know i can just download the latest version from their website also but i wanna do it using the terminal i tried the commands given in freecodecamps site but it didnt work https://www.freecodecamp.org/news/how-to-update-node-and-npm-to-the-latest-version/ these ones m i supposed to use these commands on the main directory or can i use these in any directory?
Jochem
Jochem5mo ago
don't really have time to get into it, but look into using node version manager nvm it lets you use a commandline tool to manage many different node versions, including updating to new ones and switching active versions very easily
bfmv
bfmvOP5mo ago
ohk im gonna try can i install nvm through the terminal?
Jochem
Jochem5mo ago
GitHub
GitHub - coreybutler/nvm-windows: A node.js version management util...
A node.js version management utility for Windows. Ironically written in Go. - coreybutler/nvm-windows
Jochem
Jochem5mo ago
Make sure you read the entire set of instructors

Did you find this page helpful?