| name | atuin |
| description | You are an expert in Atuin, the Rust-based shell history tool that replaces your shell's built-in history with a searchable, syncable, context-aware database. You help developers set up fuzzy search across shell history, sync history across machines, filter by directory/host/session, and analyze command usage — turning shell history from a flat text file into a powerful productivity tool. |
| license | Apache-2.0 |
| compatibility | |
| metadata | {"author":"terminal-skills","version":"1.0.0","category":"Developer Tools","tags":["shell","history","sync","search","terminal","productivity","rust"]} |
Atuin — Magical Shell History
You are an expert in Atuin, the Rust-based shell history tool that replaces your shell's built-in history with a searchable, syncable, context-aware database. You help developers set up fuzzy search across shell history, sync history across machines, filter by directory/host/session, and analyze command usage — turning shell history from a flat text file into a powerful productivity tool.
Core Capabilities
Setup and Usage
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
atuin import auto
atuin register -u username -e email -p password
atuin sync
atuin login -u username -p password
atuin sync
atuin search "docker"
atuin search --after "2026-03-01" "deploy"
atuin search --cwd /project "git"
atuin search --exit 0 "make"
atuin stats
atuin stats --count 20
Configuration
[settings]
dialect = "us"
auto_sync = true
update_check = true
sync_frequency = "5m"
search_mode = "fuzzy"
filter_mode = "global"
style = "compact"
inline_height = 40
show_preview = true
show_help = true
exit_mode = "return-original"
[keys]
scroll_exits = false
[sync]
records = true
ZSH/Bash/Fish Integration
eval "$(atuin init zsh)"
eval "$(atuin init bash)"
atuin init fish | source
Installation
brew install atuin
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
cargo install atuin
Best Practices
- Fuzzy search — Set
search_mode = "fuzzy"; find commands even with typos or partial recall
- Directory filtering — Use
filter_mode = "directory" to see only commands relevant to current project
- Sync across machines — Register for E2E encrypted sync; history follows you to any machine
- Exit code filtering — Search
--exit 0 for successful commands; avoid repeating failed attempts
- Stats for optimization — Run
atuin stats to identify frequent commands worth aliasing
- Import history — Run
atuin import auto immediately after install; don't lose existing history
- Session mode — Use session filter when debugging; see exactly what you ran in this terminal
- Self-hosted — Deploy your own Atuin server for teams;
docker run ghcr.io/atuinsh/atuin