Last active
October 18, 2024 11:26
-
-
Save hspedro/5261300e446408b94cfa13a63ebbf4c2 to your computer and use it in GitHub Desktop.
mongosh ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update | |
apt install -y wget gnupg | |
wget -qO- https://www.mongodb.org/static/pgp/server-8.0.asc | tee /etc/apt/trusted.gpg.d/server-8.0.asc | |
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/8.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-8.0.list | |
apt update | |
apt install -y mongodb-mongosh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment