tpt-env
RustSafe, cross-platform manager for PATH, SDKs, and environment variables — with automatic backups, validation/repair, project auto-loading, shell hooks, and native GUI + CLI for Windows and Linux.
Languages
tpt-env
Developer Environment & PATH Variable Manager
Safely manage PATH, SDKs, and environment variables across Windows, Linux, and Archon.
The Problem
Managing PATH, SDKs, and environment variables is a cross-platform nightmare. Messing it up breaks builds and requires tedious manual fixes.
The Solution
A safe GUI + CLI for managing environment states, validating broken paths, and
auto-loading project-specific .env files.
- Windows: Registry integration (HKCU/HKLM), PowerShell hooks, native GUI
- Linux: Shell file editing (
.bashrc/.zshrc), direnv interop, native GUI - Archon: Microkernel namespace isolation (design phase)
Installation
From pre-built binaries (recommended)
Download the latest archive from GitHub Releases:
| Platform | Archive |
|---|---|
| Windows x86_64 | tpt-env-x86_64-pc-windows-msvc.zip |
| Linux x86_64 | tpt-env-x86_64-unknown-linux-gnu.tar.gz |
Extract and add the binary directory to your PATH.
From source
# Prerequisites: Rust 1.85+
cargo install tpt-env --locked
# Or build from the repo:
cargo build --release --workspace
Quickstart
# Check your PATH health
tpt-env doctor
# Fix issues with preview
tpt-env fix --dry-run
# Initialize project config
tpt-env init
# Load project environment
tpt-env load
# Launch the GUI
tpt-env-gui-windows # Windows
tpt-env-gui-linux # Linux
Documentation
Full user guide: docs/user-guide.md
License
Dual-licensed under MIT and Apache-2.0.