Skip to content

Commit

Permalink
Use bookworm packages for nodejs install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jedahan authored Nov 14, 2023
1 parent ee06209 commit 93d69c1
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,18 @@ If you encounter an `EACCES` error when installing the package globally, see [Re

#### Raspberry Pi

To install saxi on a Raspberry Pi 2/3/4, first install node.js if you haven't already:

```
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install -y nodejs
```
To install saxi on a Raspberry Pi 2+, first install node.js

If you are on a raspberry pi zero or 1, you will need to download an [unofficial armv6l build](https://github.com/nodejs/unofficial-builds)
sudo apt install --yes nodejs

If you are on a Raspberry Pi Zero or Raspberry Pi, you will need to download an [unofficial armv6l build](https://github.com/nodejs/unofficial-builds)

wget https://unofficial-builds.nodejs.org/download/release/v20.8.1/node-v20.8.1-linux-armv6l.tar.xz
tar xf node-v20.8.1-armv6l.tar.xz
export PATH=$PATH:$PWD/node-v20.8.1-linux-armv6l/
echo "export PATH=\$PATH:$PWD/node-v20.8.1-linux-armv6l" >> ~/.profile

```
$ wget https://unofficial-builds.nodejs.org/download/release/v20.5.1/node-v20.5.1-linux-armv6l.tar.xz
$ tar xf node-v*-armv6l.tar.xz
$ export PATH=$PATH:$PWD/node-v*-linux-armv6l/
```

and then proceed as above :) If you connect to the raspberry pi over ssh, you might want to run the `saxi` server inside a tmux or screen session to have it stay running even if your ssh session disconnects.

Expand Down

0 comments on commit 93d69c1

Please sign in to comment.