Tempit
April 16, 2026 · View on GitHub
CLI + shell helper to create, track, and jump into temporary directories without losing them.
Install
pip install tempit-manager
Add shell integration to ~/.bashrc or ~/.zshrc:
eval "$(tempit init bash)" # or: zsh
Usage
After shell init, use the aliases:
| Alias | Action |
|---|---|
tempc [prefix] | Create temp dir and cd into it |
tempg <n> | Jump to tracked dir by number |
templ | List tracked dirs (size, age, file count) |
temprm <n> | Remove tracked dir by number |
tempclean | Remove all tracked dirs |
Raw CLI:
tempit create [prefix]
tempit list
tempit remove <n>
tempit clean-all
tempit init <shell>
tempit --version
Tracked metadata lives at /tmp/tempit_dirs.json.