1//Doing this regularly will keep your Raspberry Pi installation up to date.
2
3 //add store
4 curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
5 //install node
6 sudo apt install -y nodejs
7 //check version
8 node -v
9 //or
10 node --version