Tsallaka zuwa abun ciki
Justice Tech School

MongoDB Get Started

Install MongoDB Community or create a free Atlas cluster in the cloud, then connect with mongosh, the shell. Run show dbs to list databases.

Example
mongosh "mongodb://localhost:27017"
> show dbs
> use school
> db.getName()

Exercise

Open the shell.

 "mongodb://localhost:27017"

Quiz Test

Which tool is the MongoDB shell?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.