Install Node.js di Ubuntu Linux
Install Node.js di Ubuntu, Linux Mint, Debian, Elementary OS
# Ubuntu, Linux Mint, Elementary OS curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get install -y nodejs # Debian, as root curl -sL https://deb.nodesource.com/setup_14.x | bash - apt-get install -y nodejs
Referensi: Installation Instruction
Install Node.js di RHEL, CentOS, CloudLinux, Fedora
# As root curl -sL https://rpm.nodesource.com/setup_14.x | bash - # No root privileges curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
Referensi: Installation Instruction
Snap package Manager
Untuk Linux yang support snap, bisa juga menggunakan perintah berikut.
sudo snap install node --classic --channel=14
Perintah di atas akan install Node.js versi 14.
Lebih detil kamu bisa baca dokumentasi ini https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions-2
Referensi:
0 comments