Raspberry Pi: MongoDB

Installing MongoDB 7.0 on the Raspberry Pi 5 (Woodworm)

curl -fsSL https://pgp.mongodb.com/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor
echo "deb [ arch=arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo chown mongodb:mongodb /var/log/mongodb/
sudo chown mongodb:mongodb /var/lib/mongodb/
sudo systemctl enable mongod
sudo systemctl start mongod
sudo systemctl status mongod

Source: Installing MongoDB 7.0 on the Raspberry Pi 5

Yandex.Metrica