Docs Menu

Install mongosh

On this page

  • Prerequisites
  • Procedure
  • Next Steps

To use the MongoDB Shell, you must have a MongoDB deployment to connect to.

You can use the MongoDB Shell to connect to MongoDB version 4.0 or greater.

Select the appropriate tab for your operating system:

Once you successfully install mongosh, learn how to connect to your MongoDB deployment.

Give Feedback
© 2021 MongoDB, Inc.


  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.