mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-05 09:35:51 +00:00
Update Node.js version to 24 in Raspberry Pi installation guide
This commit is contained in:
@@ -26,11 +26,11 @@ sudo apt install git
|
||||
sudo apt install python3-pip
|
||||
```
|
||||
|
||||
## Install NodeJS v22
|
||||
## Install NodeJS v24
|
||||
|
||||
```
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
|
||||
NODE_MAJOR=22
|
||||
NODE_MAJOR=24
|
||||
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
|
||||
|
||||
@@ -30,7 +30,7 @@ sudo apt install python3-pip
|
||||
|
||||
```
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
|
||||
NODE_MAJOR=22
|
||||
NODE_MAJOR=24
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user