help me update my node js version

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