Outils pour utilisateurs

Outils du site


start:rasberry:nodered:maj

Mise à jour Node-red

Mise à jour de node ( Idem installation voir MAJ raspberry )

sudo apt update
sudo apt upgrade
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Validez avec la touche entrée et répondez « yes » avec « y » à toutes les questions :

mettre à jour Node.js sur Raspberry Pi via Node Version Manager

 wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
 

On installe la derniere version de node-red

 
 sudo npm install -g n
 sudo n latest

On reboot le raspberry

 
 sudo shutdown -r now
 

On verifie la version

 node -v

si l'on obtient :

 
 V21.7.1 ( au 11/03/2024) c'est bon 
 

sinon essayer ceci :

  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
  sudo apt-get install nodejs -y
  node -v  ( On devrait avoir la version 20.11.0 )
  Sinon .... A suivre ....
  
  

Faire un reboot

  sudo shutdown -r now

Il faut verifier les instances de node-red

 192.168.XXX.XXX:188X 
La version de Node-red devrait etre en Français …
/home/chanteri/www/fablab37110/data/pages/start/rasberry/nodered/maj.txt · Dernière modification : 2024/03/11 11:31 de gerardadmin