Friday, May 17, 2019

Install Node.js on a chromebook

If you have a chromebook which supports Linux experimental integration feature (look for this in your global parameters), then you can open a bash terminal. The Linux behind the scene seems to be Debian based.

So, to install Node.js, forget the classic way with sudo apt-get install nodejs because you will get an old release. Instead of that, you can to this :

Step 1 – Add Node.js PPA
sudo apt-get install curl software-properties-common
curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
Step 2 – Install Node.js
sudo apt-get install nodejs
That's all!

(source : https://tecadmin.net/install-latest-nodejs-npm-on-debian/)



1 comment:

Qss Technosoft said...

Hey, thanks for sharing this information about Node.js.

Display Javascript console logs with jsfiddle

Jsfiddle is mainly made to test javascript code in a web context (aka with HTML and CSS). But, if you just want to use is to test backend c...