Last active
September 9, 2021 13:15
-
-
Save thuongdinh-agilityio/4b2d5a92f5db871e0669ec7d9e73cb25 to your computer and use it in GitHub Desktop.
install mongo shell
This file contains 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
#!/usr/bin/env bash | |
set -e | |
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - | |
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list | |
sudo apt-get update -y > /dev/null 2>&1 | |
sudo apt-get install -y libcurl3 mongodb-org-shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment