I am trying to install MongoDB using the archive
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.3.tgz and I notice that this does not contain any of the utilities like mongo cli client. In previous versions (ex: version4 https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.0.28.tgz) the utilities like mongo cli.
Is this expected? How can I install the cli and other utilities?
January 7, 2023, 11:45am
mongo shell was removed in the MongoDB 6.0 server release, and replaced by the newer
). For example,
Introducing the new MongoDB Shell MongoDB Compass includes an embedded version of
You can download
mongosh packages or tarballs from the MongoDB Download Centre:
MongoDB Shell Download.
General commands and interaction in
mongosh is very similar to the legacy
mongo shell , with some additional features. If you are familiar with writing scripts for the
mongo shell you will want to review the
mongosh documentation including
Compatibility Changes with Legacy and
Include External Files and Modules in Scripts. Since
mongosh uses Node.js, you can now
require built-in Node.js modules or external modules from
January 12, 2023, 11:45am
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.