-
Notifications
You must be signed in to change notification settings - Fork 1
install node js and npm
Konrad Gondek edited this page Sep 25, 2016
·
1 revision
$ sudo apt-get update && sudo apt-get upgrade
next download node (this will download the latest stable package):
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
then install the package:
sudo dpkg -i node_latest_armhf.deb
check the installation is working (the following command will return the version number of node):
node -v
v0.12.0
you may also want to check the npm version as well:
npm -v
2.5.1
- download node 4.2.2 (or other from node downloads):
$ wget https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-arm64.tar.gz
- unpack:
$ tar -zxvf node-v4.2.2-linux-arm64.tar.gz
wget https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-arm64.tar.gz
or B [3]
$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
$ sudo apt-get install -y nodejs
optional:
* $ sudo apt-get install -y build-essential