Skip to content
Studio 3T - The professional GUI, IDE and client for MongoDB
  • Tools
    • Aggregation Editor
    • IntelliShell
    • Visual Query Builder
    • Export Wizard
    • Import Wizard
    • Query Code
    • SQL Query
    • Connect
    • Schema Explorer
    • Compare
    • SQL ⇔ MongoDB Migration
    • Data Masking
    • Task Scheduler
    • Reschema
    • More Tools and Features
  • Solutions
  • Resources
    • Knowledge Base
    • MongoDB Tutorials & Courses
    • Tool/Feature Documentation
    • Blog
    • Community
    • Testimonials
    • Whitepapers
    • Reports
  • Contact us
    • Contact
    • Sales Support
    • Feedback and Support
    • Careers
    • About Us
  • Store
    • Buy Now
    • Preferred Resellers
    • Team Pricing
  • Download
  • My 3T
search

Studio 3T® Knowledge Base

  • Documentation
  • Tutorials
  • Workshops
Take the fastest route to learning MongoDB. Cover the basics in two hours with MongoDB 101, no registration required.
Start the free course

Studio 3T now defaults to the Mongosh shell

Posted on: 31/10/2022 (last updated: 12/01/2023) by Dj Walker-Morgan

TL;DR: Mongosh is the new bundled, default shell for Studio 3T.

If you’ve never set your preferred MongoDB shell in Studio 3T or only use Studio 3T bundled Mongo shells, your Studio 3T will automatically update to use the new default shell.

If you previously set your preferred MongoDB shell to anything that was not a Mongo shell bundled with Studio 3T, Studio 3T will not change your settings, but we do advise that you review your configuration.

Why the change in Studio 3T to mongosh?

Studio 3T has traditionally bundled three MongoDB tools in its downloadable installer. These were:

  1. mongo – the mongo shell
  2. mongodump – the database dump utility
  3. mongorestore – the database restore utility.

MongoDB introduced a replacement for mongo, the mongo shell, called mongosh, which has replaced the older, legacy shell code with a modern Node.js application while retaining the user interface and compatibility with the legacy mongo shell. 

Studio 3T is able to support both the legacy mongo shell and newer mongosh, and has done so for a while, but until now we defaulted to using the legacy mongo shell. We’ve now decided to switch to the newer mongosh as the default shell.

What changes with mongosh?

Most users will notice no difference between the two shells when using Studio 3T. This is because Studio 3T’s IDE wraps the shell in an advanced GUI that already provides autocompletion, tabular, tree, and JSON views of results, inline editing and more. 

In Studio 3T 2022.9, we are introducing Query Assist support when using the bundled mongosh shell.

Note that non-bundled versions of mongosh will not work with Query Assist and will lack inline editing and other features. We recommend users stick with the bundled mongosh for the best Studio 3T experience.

Advanced mongo script users making use of the legacy MongoDB shell’s native JavaScript functions may have to change some of their JavaScript function calls to use the newer Node.js-based environment. These users will also gain access to the more extensive library of features in the new mongosh, including standardized file and network support.

Using the legacy shell

It is still possible to use the legacy MongoDB shell. Studio 3T retains support for it and continues to bundle the last major version of it with the Studio 3T installer. Users are also free to install earlier versions of the shell if needed. 

You can also change to the legacy shell by selecting the Use Legacy Shell toggle button in the IntelliShell window. This will switch the shell from bundled mongosh to bundled mongo (or back to mongosh from mongo) in the current IntelliShell session.

If you want to make that change permanent, you can configure the shell through the global preferences or per-connection settings as detailed in Configure mongodump, mongorestore and mongo shell executable files in the Knowledge Base.

It is worth noting that MongoDB no longer maintains or distributes the legacy mongo shell for newer platforms, and as such it may not be available – for example – on Ubuntu 22.04LTS. Mongosh is supported on these platforms though.

Older MongoDB Servers ( < 3.6 ) and mongosh in Studio 3T

If you are connecting to a MongoDB server before version 3.6, you will have to configure your connections to use the legacy mongo shell. This is because the newer mongosh does not work with servers of that vintage.

Default Versions

Studio 3T VersionMongoshMongoMongodumpMongorestore
2022.91.5.45.0.10100.5.4100.5.4


How helpful was this article?
This article was hideous
This article was bad
This article was ok
This article was good
This article was great
Thank you for your feedback!

About The Author

Dj Walker-Morgan

Dj has been around since Commodore had Pets and Apples grew everywhere. With a background in Unix and development, he's been around the technology business writing code or writing content ever since.

Article navigation

Related articles

  • What’s New in Studio 3T 2021.1 | A Faster IntelliShell, Now with Live Error Highlighting
  • What’s New in Studio 3T 2021.2 | Task Scheduler Now Available for All
  • Monthly Subscriptions To Studio 3T Are Now Available
  • Expanding Academy 3T – Now with Aggregation
  • What’s New In Studio 3T 2022.5 – Load Tasks, Shell Progress, JSON Toolbar

Studio 3T

MongoDB Enterprise Certified Technology PartnerSince 2014, 3T has been helping thousands of MongoDB developers and administrators with their everyday jobs by providing the finest MongoDB tools on the market. We guarantee the best compatibility with current and legacy releases of MongoDB, continue to deliver new features with every new software release, and provide high quality support.

Find us on FacebookFind us on TwitterFind us on YouTubeFind us on LinkedIn

Education

  • Free MongoDB Tutorials
  • Connect to MongoDB
  • Connect to MongoDB Atlas
  • Import Data to MongoDB
  • Export MongoDB Data
  • Build Aggregation Queries
  • Query MongoDB with SQL
  • Migrate from SQL to MongoDB

Resources

  • Feedback and Support
  • Sales Support
  • Knowledge Base
  • FAQ
  • Reports
  • White Papers
  • Testimonials
  • Discounts

Company

  • About Us
  • Blog
  • Careers
  • Legal
  • Press
  • Privacy Policy
  • EULA

© 2023 3T Software Labs Ltd. All rights reserved.

  • Privacy Policy
  • Cookie settings
  • Impressum

We value your privacy

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 ("analytics and marketing") and to provide you with additional functions (“functional”). 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.

By clicking “Accept all”, you consent to the storage of cookies and the processing of personal data for these purposes, including any transfers to third countries. By clicking on “Decline all”, you do not give your consent and we will only store cookies that are necessary for our website. You can customize the cookies we store on your device or change your selection at any time - thus also revoking your consent with effect for the future - under “Manage Cookies”, or “Cookie Settings” at the bottom of the page. You can find further information in our Privacy Policy.
Accept all
Decline all
Manage cookies
✕

Privacy Preference Center

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 ("analytics and marketing") and to provide you with additional functions (“functional”). 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 our Privacy Policy.

Accept all cookies

Manage consent preferences

Essential cookies are strictly necessary to provide an online service such as our website or a service on our website which you have requested. The website or service will not work without them.

Performance cookies allow us to collect information such as number of visits and sources of traffic. This information is used in aggregate form to help us understand how our websites are being used, allowing us to improve both our website’s performance and your experience.

Google Analytics

Google Ads

Bing Ads

Facebook

LinkedIn

Quora

Hotjar

Reddit

Functional cookies collect information about your preferences and choices and make using the website a lot easier and more relevant. Without these cookies, some of the site functionality may not work as intended.

HubSpot

Social media cookies are cookies used to share user behaviour information with a third-party social media platform. They may consequently effect how social media sites present you with information in the future.

Accept selected