Install mongosh

On this page
Prerequisites
To use the MongoDB Shell, you must have a MongoDB deployment to connect to.
For a free cloud-hosted deployment, you can use MongoDB Atlas.
To learn how to run a local MongoDB deployment, see Install MongoDB.
Supported MongoDB Versions
You can use the MongoDB Shell to connect to MongoDB version 4.2 or greater.
Procedure
Select the appropriate tab for your operating system:
Next Steps
Once you successfully install mongosh
, learn how to
connect to your MongoDB deployment.