How to Install Node.js on Raspberry Pi 3 (Raspbian)
1 min read
Here’s how to install Node.js on Raspberry Pi (originally posted as a SoF answer for Ubuntu here)
Install curl
sudo apt-get install curl -y
```markdown
## Install node
v4
```bash
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -sudo apt-get install -y nodejs
```text
v5
```bash
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -sudo apt-get install -y nodejs
```text
v6
```bash
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -sudo apt-get install -y nodejs
```text
v7
```bash
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -sudo apt-get install -y nodejs
```text
v8
```bash
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -sudo apt-get install -y nodejsShare: