mongoexport

Produce exports of data stored in a MongoDB instance formatted as JSON or CSV. More information: <https://docs.mongodb.com/database-tools/mongoexport/>.

Debian Debian
RUN apt-get update && \ apt-get install -y mongo-tools
Ubuntu
RUN apt-get update && \ apt-get install -y mongo-tools
Alpine
RUN apk add mongodb-tools
Arch Arch Linux
RUN pacman -S --noconfirm mongodb-tools
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y mongo-tools
Fedora
RUN dnf install -y mongo-tools
Raspbian
RUN apt-get update && \ apt-get install -y mongo-tools
click the source code to copy install mongoexport on any operating system with command-not-found.com