Mongosh (MongoDB Shell) is a JavaScript REPL command line tool for interacting with MongoDB offline and online deployments. Note: You can also connect to a cloud database instance, for example, a MongoDB Atlas cluster. To create a sample database named myDatabase locally, we can either use MongoDB Compass, a graphical interface for working with databases or mongosh (Mongo Shell).
The extension looks something like below:Īs you can see, it's already installed for me so you can just go ahead and install it. Robo 3T (formerly Robomongo) is the free, lightweight, open-source MongoDB GUI with an embedded mongo shell, real auto-completion, and support for MongoDB. To install, open the extension tab on VS Code and search for MongoDB for VS Code. The MongoDB extension for VS Code allows us to create playgrounds to interact and perform query operations on our data and collections and giving us the results on the fly at the click of a button (which is supercool!).
We Will see How to Install MongoDB Community Edition on Windows.
Install the MongoDB extension for VS Code In this video I am going to show How to install MongoDB on Windows 10 operating system.
You can follow this guide to install MongoDB for Windows OS but the process is pretty much the same for other OS.įor Windows, you can download the. Visit the download website to download and install MongoDB Community Edition for your OS. Installing the MongoDB Community Server Edition allows us to host MongoDB databases locally unlike Atlas which is a cloud hosted database option.ĭownload and Install MongoDB Community Server Edition 5.0 So, I decided to create a guide to show them how and any other persons who might want to test their collections and perform all kinds of database operations with their MongoDB database using VS Code as the editor. Recently, a friend asked me if it's possible to work with their MongoDB databases and Atlas clusters locally without the internet and my answer to that was yes.