Install NVM di Linux Turunan Ubuntu & Install Node Js melalui NVM

ajimaulana_777

Aji Maulana

Posted on October 9, 2023

Install NVM di Linux Turunan Ubuntu & Install Node Js melalui NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

Note: jika belum punya curl install curl dengan command,
command: sudo apt install curl

source ~/.bashrc 
Enter fullscreen mode Exit fullscreen mode
nvm --version
Enter fullscreen mode Exit fullscreen mode

Jika muncul versinya artinya telah terinstall.

Install NodeJS melalui NVM

nvm ls-remote
Enter fullscreen mode Exit fullscreen mode

Maka akan muncul beberapa versi node js, pilih sesuai kebutuahn. Contohnya saya menginsyall Node nvm versi 18.

Versi 18 pun lebih dari satu, saya pilih yang v18.18.0 (Latest LTS: Hydrogen).

nvm install v18.18.0
Enter fullscreen mode Exit fullscreen mode
node --version
Enter fullscreen mode Exit fullscreen mode

Jika muncul versinya artinya telah terinstall.

💖 💪 🙅 🚩
ajimaulana_777
Aji Maulana

Posted on October 9, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related