-
-
Notifications
You must be signed in to change notification settings - Fork 1
HOWTO dev misc node_setup
steveoro edited this page Jan 16, 2021
·
1 revision
The npm
JS package manager comes bundled with NodeJS.
Add the installation key, update the package list and get it from the added official repository:
$ sudo apt update
$ sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install gcc g++ make
$ sudo apt-get install -y nodejs
Verify the installation:
$ node -v
$ npm -v