Magical shell history. Sync, search and backup shell history with an encrypted database.
Atuin is a powerful shell history replacement that transforms your command-line experience by replacing the traditional shell history with a SQLite database. Instead of the basic history functionality built into shells, Atuin captures rich contextual information for each command including exit codes, duration, working directory, hostname, and session details. This enhanced data collection enables sophisticated searching and filtering capabilities that go far beyond simple text matching.
The tool's standout feature is its full-screen history search interface that replaces the standard ctrl-r functionality with an intuitive UI for browsing and filtering command history. Users can search with complex criteria like finding all successful make commands executed after a specific time, or filter history by current session, directory, or globally. Atuin also offers optional end-to-end encrypted synchronization across machines, allowing users to maintain consistent command history whether they're working locally, on remote servers, or switching between different computers.
Atuin is designed for developers, system administrators, and power users who spend significant time in the terminal and want to make their command-line workflow more efficient. It supports all major shells including zsh, bash, fish, nushell, and others, making it accessible regardless of shell preference. The tool respects user privacy with local-only operation as an option, while also providing cloud sync for those who want seamless history sharing across their devices.
# via Shell Script
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh