I needed the latest version of node.js (6.x) on my new pine64. When I installed node.js via apt-get, the 4.x version was installed.
So this is, what I did to get node.js 6.x:
First I installed npm:
> sudo apt-get install npm
After that I could install node.js via npm
> sudo npm i node-linux-arm64 -g
Checking the version:
> node -v
v6.1.0
Done
#nodejs #node.js
So this is, what I did to get node.js 6.x:
First I installed npm:
> sudo apt-get install npm
After that I could install node.js via npm
> sudo npm i node-linux-arm64 -g
Checking the version:
> node -v
v6.1.0
Done
#nodejs #node.js