mongodbdebianmongo-shell

How to install mongo legacy shell in MongoDB 6.0


The legacy mongo shell has been removed in MongoDB 6.0. Following the official Debian installation procedure for 6.0, it is not intalled (in favour of the new mongosh shell).

However, due to some legacy reasons, I need also the old shell. Is there any documented way of installing the legacy mongo in Debian in that case?

Thanks in advance!


Solution

  • Install the package mongodb-org-shell from version 5.0 of mongo.

    The supplied mongo shell works great with mongo 6.0.