Mongotui
Mongotui is a terminal user interface MongoDB client that is designed to be easy to use and fast.

Usage
Mongotui aims to make switching from mongosh easy as it aims to have a similar flags and commands when first connecting
to the MongoDB server.
If you have a local MongoDB server running on the default port and no authentication, you can run the following command to get up and running.
mongotui localhost
Mongotui also accepts full MongoDB connection strings.
mongotui mongodb://user:password@localhost:27017
Explore the help menu if additional connection information is required.
mongotui --help
Features
- ๐ Similar connection flags/options to mongosh
- ๐ Navigate between databases/collections/documents
- ๐ Query for specific documents
- ๐ Pagination of results
- ๐๏ธ View an entire document
- โ๏ธ Edit a document using your
$EDITOR of choice
- ๐๏ธ Delete a database/collection/document
Installation
MacOS
If you have HomeBrew installed, use the tap shown below.
brew tap kreulenk/brew
brew install mongotui
Linux
Navigate to the Releases section of mongotui's GitHub repository and download the latest tar for your
processor architecture. Then, untar the executable and move it to /usr/local/bin/mongotui.
E.g.
curl -OL https://github.com/kreulenk/mongotui/releases/download/v1.1.1/mongotui-linux-amd64.tar.gz
tar -xzvf mongotui-linux-amd64.tar.gz
mv ./mongotui /usr/local/bin/mongotui
Build From Source
Ensure that you have at least Go 1.23 installed on your system.
Then, run
make install