Installing MongoDB and related tools
MongoDB is not just a database service provider, but a full-fledged developer data platform that has a set of technologies built around the core database to meet all your data needs and improve your productivity as a developer. Let’s examine the following components that you will be installing or using in the following sections:
- MongoDB Community Edition: A free version of MongoDB that runs on all major operating systems. It is what you are going to use to play around with data locally.
- MongoDB Compass: A graphical user interface (GUI) for managing, querying, aggregating, and analyzing MongoDB data in a visual environment. Compass is a mature and useful tool that you’ll be using throughout your initial querying and aggregation explorations.
- MongoDB Atlas: The database-as-a-service solution from MongoDB. This offering is one of the main reasons MongoDB is a central part of the FARM stack. It is relatively easy to set up and it relieves you from manually administering the database.
- MongoDB Shell (
mongosh
): A command-line shell that not only performs simple create, read, update, and delete (CRUD) operations on your database but also enables administrative tasks such as creating and deleting databases, starting and stopping services, and similar jobs. - MongoDB Database Tools: Several command-line utilities that allow administrators and developers to export or import data to and from a database, provide diagnostics, or enable manipulation of large files stored in MongoDB’s GridFS system.
This chapter will focus on the procedure to have a fully functional installation. Check the installation instructions that correspond to your operating system. This chapter includes instructions for Windows, Linux, and macOS.