mongosh , the MongoDB Shell, is a JavaScript and Node.js REPL environment for interacting with MongoDB deployments in  Atlas, locally, or on another remote host.     It is a really productive tool that, by the time of writing this article, is not yet included in the Debian distributions.      Does that mean that it cannot be installed on Debian? The response is yes, it can be installed on Debian , since MongoDB publishes the .deb packages for different Debian distribution on its own repository. The steps are described below.   1. Check the Debian distribution name      This section deals with the steps needed to determine the Debian distribution name ( wheezy , stretch , jessie , buster , bullseye , bookworm ,...) of the system where mongosh  is being installed. In case you know it, this step can be omitted.      Install the latest version of lsb-release:     sudo apt-get update sudo apt-get install lsb-release       Once installed, run the command:     lsb-release -a    2. Import ...
