MongoDB Cloud Setup - Connect to MongoDB Cloud Database via Shell
Channel: loloveruledstan
Date: 2019-05-14

Link to register cloud setup: https://www.mongodb.com/download-center?jmp=nav

For Mac, once you have downloaded the file for mac and have a path for the bin location, you can update the path variable in mac using following command:
echo $PATHexport PATH=$PATH:/Users/demo/MongoDB/mongodb-osx-x86_64-4.0.4/bin
echo $PATH

Also, if you were not able to add systems variable, you use the following command:
"C:\MongoDB\mongodb-win32-x86_64-2008plus-ssl-4.0.9\bin\mongo.exe" "mongodb+srv://cluster0-ku2k2.mongodb.net/test" --username admin