How to Install MongoDB in VSCode

If you want to install MongoDB in vscode you can download the extension: MongoDB for VS Code

Name: MongoDB for VS Code
Id: mongodb.mongodb-vscode
Description: Connect to MongoDB and Atlas directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to prototype queries and aggregations.
Version: 0.9.3
Publisher: MongoDB
VS Marketplace Link:

Steps to install MongoDB in VS Code

  1. Click on the Extensions icon on the vscode sidebar, or press keyboard shortcut Command + Shift + X (Mac),
  2. Now Search: MongoDB for VS Code
  3. Click on install.
  4. You should see the MongoDB Extension on the sidebar.
MongoDB for VS Code
MongoDB Extension VS Code

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.