Install Node.js on Raspberry Pi
- Update the Pi
sudo apt update && sudo apt upgrade -y
- Check if Node.js is already installed
node -v
- Install Node.js
wget -O - https://raw.githubusercontent.com/audstanley/NodeJs-Raspberry-Pi/master/Install-Node.sh | sudo bash;
- Verify installation
node -v
npm -v
- Check if npx is installed
npx --version