using node.js raspberry code example
Example 1: install node js on raspberry pi
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
Example 2: install node on raspberry pi
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash