The MongoDB shell is an interactive JavaScript interface that is used to access a MongoDB database to query or update data and also perform database management operations.

To get started, we shall need to have a downloaded copy of MongoDB from the official website.

On the installation page, I will select complete installation and then choose MongoDB to run as a network service.

Then on the next page, we let the MongoDB compass check box selected. This will help us access our MongoDB instance through a GUI but for purposes of this article we are placing our major concern on access through the Mongo Shell.

When it's done installing, we shall then access the folder that contains the installed files using the path as shown below.

Next, we shall edit the system environment variables such that we can be able to run the executables above in the commandline without having to specify the full path.

After that is done, Open up a new commandline session and then run the command below to verify that our change is working perfectly fine.

mongo --nodb

We should then be able to see something similar to this.

That's it, we have our MongoDB Shell installed.