Search code examples
mongodbshellrhel

Install ONLY mongo shell, not mongodb


As mentioned above, I need to install only the mongo shell on a RHEL instance (machine A). I have a mongodb server on a separate instance (machine B) and need to connect to that from A to run mongodump and mongorestore commands.

I tried looking it up on the web but all I got was instructions to install the complete mongodb package.

Any help appreciated.


Solution

  • Official documentation says that you should be fine installing mongodb-org-shell only.