← Back to tools
View AGENTS.md for Atuin
Atuin
Magical shell history with sync, search, and statistics
Description
Atuin replaces your existing shell history with a SQLite database, providing full-text search, sync across machines, and detailed statistics. It stores additional context like exit code, duration, and working directory.
Install
homebrew
brew install atuincargo
cargo install atuinpacman
sudo pacman -S atuinAI Summary
A shell history replacement backed by SQLite. Provides full-text search, encrypted sync across machines, and rich context (exit code, duration, cwd) for every command.
Capabilities
- + Full-text search through shell history
- + Encrypted sync across multiple machines
- + Stores context: exit code, duration, working directory, hostname
- + Statistics and insights about command usage
Use When
- → Want to search shell history more effectively than ctrl+r
- → Need to sync shell history across multiple machines
- → Want analytics on your command-line habits
Avoid When
- x Security-sensitive environments where history sync is a concern
- x Prefer minimal shell configuration
Usage Patterns
Search history interactively
atuin search -i Opens interactive full-text search through all history
View shell statistics
atuin stats Shows statistics about your command usage