mongo

The legacy MongoDB shell. See mongosh for the new shell. Note: all connection options can be replaced with one string: mongodb://user@host:port/db_name?authSource=authdb_name. More information: <https://docs.mongodb.com/manual/reference/program/mongo>.

Debian Debian
RUN apt-get update && \ apt-get install -y mongodb-clients
Ubuntu
RUN apt-get update && \ apt-get install -y mongodb-clients
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y mongodb-clients
Fedora
RUN dnf install -y mongodb-clients
Raspbian
RUN apt-get update && \ apt-get install -y mongodb-clients
click the source code to copy install mongo on any operating system with command-not-found.com