Atuin

Magical shell history with search, sync, and encryption

Quick summary

Atuin replaces your shell's built-in history with a powerful, encrypted database. It provides blazing-fast search across all your commands, syncs history between machines, and supports regex filtering. The bootstrapper enables Atuin for Fish shell.

Common tasks

Basic Usage

atuin search docker

Basic Usage

atuin search --regex 'git.*push'

Basic Usage

atuin search --cwd /projects/myapp

Basic Usage

atuin login

What is it?

Atuin replaces your shell's built-in history with a powerful, encrypted database. It provides blazing-fast search across all your commands, syncs history between machines, and supports regex filtering. The bootstrapper enables Atuin for Fish shell.

Basic Usage

Interactive search:

~ Press Ctrl+R and start typing

Search from the command line:

$atuin search docker
$atuin search --regex 'git.*push'
$atuin search --cwd /projects/myapp

Sync history across machines:

$atuin login
$atuin sync

Browse all history:

$atuin history list
$atuin history list --session-only

Tips

Atuin works automatically once installed -- it hooks into your shell and replaces the default history.
atuin search supports regex patterns, filtering by host, directory, and session.
Run atuin login and atuin sync to enable encrypted cloud sync.