| Crates.io | tongo |
| lib.rs | tongo |
| version | 0.15.2 |
| created_at | 2024-06-30 00:28:12.606377+00 |
| updated_at | 2025-09-15 05:06:33.61693+00 |
| description | A TUI for MongoDB |
| homepage | |
| repository | https://github.com/drewzemke/tongo |
| max_upload_size | |
| id | 1287704 |
| size | 1,505,019 |
tongo -- a TUI for MongoDBtongo is a fast and keyboard-driven TUI (Terminal User Interface) for MongoDB.
Navigate and manipulate your data without leaving your terminal.

cargoInstall Rust and Cargo, then install:
cargo install tongo
nixInstall Nix, then clone this repo and install:
git clone git@github.com:drewzemke/tongo.git
cd tongo
nix-build
Then you can move the created binary somewhere on your path:
cp ./result/bin/tongo /usr/local/bin/tongo
If you're on Arch Linux, you can install tongo from the AUR:
paru -S tongo
tongo in your terminal of choice:tongo
An and p to move between pagesAt any time (except when inputting text), you can bring up a commands list by pressing ? that will explain what actions are available to you and what their keybindings are.
Load a connection directly:
tongo --url mongodb://localhost:27017
If you've previously stored a connection, you can load it by name:
tongo --connection local
Restore your most-recently-closed session in the app:
tongo --last
The first time you run tongo, a config.toml will be created for you in ~/.config/tongo on Mac and Linux and in <your-user-folder>\AppData\Roaming\tongo on Windows. (You can also see that file here.) It contains a full commented-out configuration together with descriptions of each configuration point.
You can fully customize the colors used in tongo's UI to your liking by creating a theme.toml in the same directory as your configuration file. Check out our small themes collection for some examples to get you started.
Please open an issue if you run into a problem while using tongo, or if there's a piece of functionality you wish it had! You're also welcome to make changes yourself and open a PR.