LinuxCommandLibrary

atuin

TLDR

Search command history

$ atuin search [query]
copy
Import existing history
$ atuin import auto
copy
Sync history to server
$ atuin sync
copy
Show statistics
$ atuin stats
copy
Login to sync server
$ atuin login
copy

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 search
import shell
Import existing history (auto, bash, zsh, fish)
sync
Synchronize with remote server
login
Authenticate with sync server
logout
Remove authentication
stats
Show usage statistics
history subcommand
History management (list, delete, etc.)
init shell
Output shell setup code

SHELL INTEGRATION

Add to shell rc file:

$ eval "$(atuin init bash)"  # or zsh, fish
copy

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.

SEE ALSO

history(1), mcfly(1), hstr(1)

Copied to clipboard