install node js arsitektur arm (HG680 armbian / raspberry pi)
- install node js versi 12.x.x atau lebih
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
setelah di update kita install node js nya dengan perintah
sudo apt-get install -y nodejs
setelah selesai bisa cek versi node js dan npm
node -v
maka nanti akan keluar tulisan v12.17.0 (artinya versi 12.17.0 bisa saja versi yang lain tergantung versi yang akan diinstall)
npm -v
perintah diatas mengecek dari versi npm yang digunakan
- Berikut beberapa daftar versi dari node js
Node.js v14.x:
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
Node.js v13.x:
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
Node.js v12.x:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
Node.js v10.x:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
untuk lengkapnya bisa cek sumber aslinya disini
Comments
Post a Comment