help me update my node js version

i want to update my node js to the latest version using the terminal
5 Replies
reeee
reeee3mo 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
Jochem3mo 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
reeee
reeee3mo ago
ohk im gonna try can i install nvm through the terminal?
Jochem
Jochem3mo 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
Jochem3mo ago
Make sure you read the entire set of instructors
Want results from more Discord servers?
Add your server