mkdir test-mongodb && cd test-mongo-db npm init
npm install mongodb
Just in case, the script is running under node.js version 20.15 and mongodb module version 6.8 (current on moment of writing). To check the versions:
(more…)[1: Recommended] for 64-bit only. Raspberry OS 32-bit is already coming with Node-Red pre-installed
you will get:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
…of course:
sudo apt update && sudo apt upgrade
Install docker:
Method 1:
sudo apt install docker.io