Knowledge base · Studio 3T Desktop IDE

Configure mongodump, mongorestore & mongo shell Executable Files

By Kathryn Vargas, Kirsty Burgess · Updated

Studio 3T bundles mongo tools by default, but we’ve made it possible to point IntelliShell, mongodump, and mongorestore to use your preferred version of those tools.

If you wish to use a particular version of MongoDB tools, you will need to download the relevant executable files for that MongoDB version:

MongoDB tools may also be available from your Linux distribution’s software installer, via Homebrew on macOS, or through a Windows package manager such as Chocolatey.

There are two options when configuring your selected tools in Studio 3T. You can set the system’s PATH environment variable to include a directory where you have installed the tools, or you can directly point at the executable files. These two options are covered below. The same options also exist for per-connection tool settings.

Option 1: Use the executable (.exe) file from the PATH environment variable

1. Open the command prompt or terminal.

2. Add the executable file paths to the $PATH variable. These files are usually in the bin directory where the distribution was unpacked.

  • bin/mongo for mongo shell/IntelliShell
  • bin/mongorestore for mongorestore
  • bin/mongodump for mongodump

3. Open Studio 3T and go to Studio 3T > Preferences.

4. Select the ‘PATH’ option:

  • On the Tools > IntelliShell page, select the Use the ‘mongo’ or ‘mongosh’ executable found on the ‘PATH’ environment variable option.
  • On the External tools > MongoDB tools page, under the Mongorestore or Mongodump section, select the Use the ‘…’ executable found on the ‘PATH’ environment variable option.

If the PATH variable is correctly configured, Studio 3T picks up and uses the relevant executable file.

5. Click OK.

Option 2: Point to the .exe file under Preferences

1. Open Studio 3T and go to Studio 3T > Preferences.

2. Select the executable option:

  • On the Tools > IntelliShell page, select the Use the following ‘mongo’ or ‘mongosh’ (starting from 1.1.1) executable option. Then in the field below, specify the path to the executable. The executable should be mongosh/mongo (Linux/macOS) or mongosh.exe/mongo.exe (Windows).
  • On the External tools > MongoDB tools page, under the Mongorestore or Mongodump section, select the Use the following ‘…’ executable option. Then in the field below, specify the path to the executable. The executables should be mongorestore/mongodump (Linux/macOS) or mongorestore.exe/mongodump.exe (Windows). These files are typically found in the directory where you unpacked a MongoDB distribution.

3. Click OK.

Applying changes on a MongoDB connection level

Settings configured in the Connection Manager will be applied to all databases in the MongoDB connection and will override the global settings configured in Studio 3T > Preferences.

1. Open the Connection Manager by clicking on the Connect button from the global toolbar, or Open Connection Manager on the Quickstart tab.

2. Choose a connection, then click on Edit in the toolbar.

3. Click on the IntelliShell or MongoDB Tools tabs.

  • On the IntelliShell tab, clear the Use global settings checkbox, and select your preferred configuration for this connection.
  • On the MongoDB Tools tab, clear the Use global settings checkbox, and under the Mongorestore or Mongodump section, select your preferred configuration for this connection.

4. Click Save.

Check your IntelliShell selection

1. Connect to a database and open IntelliShell.

  • Button – Click on the IntelliShell button in the global toolbar
  • Right-click – Right-click on a target collection and choose Open IntelliShell
  • Shortcut – Press Ctrl + L (⌘+ L)

2. You should see a mongosh or mongo shell version number in the Raw shell output tab.

When starting an IntelliShell session, the raw shell output shows the details of the MongoDB Shell version.


Other IntelliShell and importing/exporting hacks you might find helpful:


With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes, including personalized advertising (“performance”), to provide you with additional functions (“functional”), and to show content from social media platforms, such as embedded videos (“social media”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in section 9 of our Privacy Policy.

Manage consent preferences