Feature request: Add an export command for the database
Author: hongphong214365Created Jul 26, 2026Updated Aug 3, 2026
Problem
Currently, zoxide stores its data internally, but there is no built-in way to export the database in a portable format.
This makes it difficult to:
- Back up my zoxide data.
- Migrate to another computer.
- Synchronize data between multiple machines.
- Inspect or process the database with external tools.
Proposed solution
Add a comm
and such as:
zoxide exportor
zoxide export --format jsonPossible output formats could include:
- JSON
- CSV
- Plain text
The output could be written to stdout by default, making it easy to redirect into a file.
Examples:
zoxide export > zoxide.jsonzoxide export --format csv > zoxide.csvWhy this would be useful
Many users periodically back up their development environment or move between machines. Having an official export command would make backup, migration, and automation much easier without relying on the internal database format.
Thanks for the great project!
Source: ajeetdsouza/zoxide