//Doing this regularly will keep your Raspberry Pi installation up to date.
//add store
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
//install node
sudo apt install -y nodejs
//check version
node -v
//or
node --version