tjbot icon indicating copy to clipboard operation
tjbot copied to clipboard

Update bootstrap with latest instructions for installing node.js on RPi

Open jweisz opened this issue 1 year ago • 0 comments

See article here: https://pimylifeup.com/raspberry-pi-nodejs/

sudo apt update
sudo apt upgrade
sudo apt install -y ca-certificates curl gnupg
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
NODE_MAJOR=20
echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt update
sudo apt install nodejs

jweisz avatar Oct 02 '23 15:10 jweisz