The MongoDB shell is an interactive JavaScript interface used to access a MongoDB database to query or update data and perform database management operations.
To get started, we shall need to have a downloaded copy of MongoDB from the official website.

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

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

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 to run the executables above in the command line without having to specify the full path.

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

mongo --nodb

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

That's it. We have our MongoDB Shell installed.