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/)