Installing and Upgrading Node js on Linux 🔥 | #nodejs

preview_player
Показать описание


In this video I showed how we can install Node js on Linux also how we can upgrade to the latest version using a few linux commands.

You can upgrade to any of the the two versions either LTS or the current one.

Commands -

1. sudo apt install nodejs
2. node -v (verify the version)

Upgrade -

1. nvm --version (check if NVM is installed)

2. nvm ls
3. nvm ls-remote (it'll give all the versions of nodejs available till now)
4. nvm install (version number)

Done ✅
Рекомендации по теме
Комментарии
Автор

Thanks a lot Bitu Codes I've been struggling for ages to update my node version and i finally did today...thanks man:)

billyilla
Автор

thanks a lot man i lost a day trying to fix this until i saw this🙏

thtnawbezuwork
Автор

this tutorial and nvm helped me a lot, I'm new to ubuntu and couldn't install nextjs correctly, thanks.

alejandrosuarez