Navigation

    Install MongoDB for VS Code

    Preview

    MongoDB for VS Code is currently available as a Preview in the Visual Studio Marketplace. The product, its features, and the corresponding documentation may change during the Preview stage.

    Prerequisites

    Before you can install MongoDB for VS Code, you must install Visual Studio Code. You can download Visual Studio Code from https://code.visualstudio.com/.

    Procedure

    1

    Open the Extensions View.

    In Visual Studio Code, click the Extensions icon in the left navigation.

    Alternatively, you can open the Extensions view by pressing:

    • Control + Shift + X or
    • Command + Shift + X.
    2

    Search "MongoDB for VS Code" in the extension marketplace.

    3

    Click Install on the "MongoDB for VS Code" extension.

    Once the installation is complete, the Install button changes to the Manage gear button.

    Once you install MongoDB for VS Code, you can view data in your deployment and create Playgrounds to interact with your data.

    To configure MongoDB for VS Code settings, see MongoDB for VS Code Settings.