dotenvhub
TUI application for centralized management and deployment of .env files across projects
dotenvhub is a terminal-based application that centralizes the management of .env files across multiple projects. It stores environment variable files in a central location following the XDG Basedir Specification, allowing developers to organize and access project-specific configurations from a single hub rather than scattering .env files throughout individual project directories.
The tool provides both a graphical TUI interface launched with the dot command and CLI operations for automated workflows. Users can create, edit, and delete .env files through the interface, which includes navigation enhancements via textual-jumper for quick file selection. The application supports three deployment methods: copying shell-specific export commands to the clipboard, creating file copies in the current working directory, or copying file paths for use with libraries like python-dotenv.
The tool automatically saves the user's preferred shell configuration and organizes files under standard user data directories. It integrates with system clipboard functionality through pyperclip, though Linux users may need to install additional packages like xclip or xsel. This centralized approach helps developers follow 12-factor app principles by maintaining clear separation between configuration and code across multiple projects.
Installation
# via pipx
pipx install dotenvhub
# via uv
uv tool install dotenvhub
# via pip
python -m pip install dotenvhub

Alternatives & related tools
cloctui
Terminal UI for CLOC code analysis tool that displays line counts and statistics in an interactive table
lazycelery
Terminal UI for monitoring and managing Celery workers, queues, and tasks with real-time updates and keyboard navigation.
cargo-selector
Cargo subcommand that provides an interactive TUI for selecting and executing binary or example targets in Rust projects
arduino-cli-interactive
Interactive TUI wrapper for arduino-cli providing menu-driven Arduino development workflows
act3
CLI tool that displays the status of the last 3 GitHub Actions workflow runs for repositories
add a badge to your README
Maintain dotenvhub? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/dotenvhub?utm_source=badge)<a href="https://www.trmn.sh/tools/dotenvhub?utm_source=badge"><img src="https://www.trmn.sh/badge/dotenvhub.svg" alt="Featured on trmn" height="20"></a>