historian
« Back to VersTracker
Description:
Command-line utility for managing shell history in a SQLite database
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shell history sqlite cli developer-tools
Install: brew install historian
About:
Historian is a command-line utility that stores and manages your shell history in a SQLite database instead of the default plain text file. This approach enables powerful querying capabilities using standard SQL, allowing users to search history by command, directory, or timestamp. It provides a more robust and structured way to analyze and interact with your command-line activity.
Key Features:
  • SQLite database backend for history storage
  • SQL-based querying for powerful history search
  • Preserves rich metadata like timestamps and working directories
  • Command-line interface for easy integration
Use Cases:
  • Auditing past command execution in a specific project directory
  • Finding complex commands you ran weeks or months ago
  • Analyzing your command-line workflow patterns
  • Backing up and transferring history across machines in a portable format
Alternatives:
  • bash-history – Standard bash history is limited to simple in-memory searching and uses plain text files
  • atuin – Atuin offers similar features with sync and UI, but Historian provides a simpler, SQL-native approach
Version History
Detected Version Rev Change Commit