Tempit

April 16, 2026 · View on GitHub

Codacy Badge Python License: MIT

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:

AliasAction
tempc [prefix]Create temp dir and cd into it
tempg <n>Jump to tracked dir by number
templList tracked dirs (size, age, file count)
temprm <n>Remove tracked dir by number
tempcleanRemove 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.

License

MIT