atuin
Magical shell history with sync and search
TLDR
Search command history
SYNOPSIS
atuin command [options]
DESCRIPTION
atuin replaces your shell history with a SQLite database, providing magical search, context tracking, and optional end-to-end encrypted sync across machines.
It records additional context like exit status, duration, and working directory, making history search more powerful than traditional Ctrl+R.
PARAMETERS
search query
Interactive history searchimport shell
Import existing history (auto, bash, zsh, fish)sync
Synchronize with remote serverlogin
Authenticate with sync serverlogout
Remove authenticationstats
Show usage statisticshistory subcommand
History management (list, delete, etc.)init shell
Output shell setup code
CONFIGURATION
~/.config/atuin/config.toml
Main configuration file for search settings, sync options, database path, and UI preferences.
SHELL INTEGRATION
Add to shell rc file:
CAVEATS
Requires shell initialization code. Sync feature optional (can use locally). Database can grow large over time. Some shells require specific configuration.
HISTORY
atuin was created by Ellie Huxtable and released in 2021, offering modern shell history with sync, statistics, and improved search.
