Update Node.js version to 24 in Raspberry Pi installation guide

This commit is contained in:
Sudo-Ivan
2026-02-23 19:34:46 -06:00
parent b9469e8646
commit c3c8a91af9
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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