Getting started | Atuin Docs
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. With this context, Atuin gives you faster and better search of your shell history.
bash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)
Import existing history | Atuin Docs
Atuin uses a shell plugin to ensure that we capture new shell history. But for older history, you will need to import it
atuin import auto
Setting up Sync | Atuin Docs
At this point, you have Atuin storing and searching your shell history! But it isn’t syncing it just yet. To do so, you’ll need to register with the sync server. All of your history is fully end-to-end encrypted, so there are no risks of the server snooping on you.
atuin register
Please enter username: adithya321
Please enter email: [email protected]
Please enter password:
After registration, Atuin will generate an encryption key for you and store it locally. This is needed for logging in to other machines, and can be seen with
atuin key
store this somewhere safe, such as in a password manager.
By default, Atuin will sync your history once per hour.
To run a sync manually
atuin sync
0/0 up/down to record store
Sync complete! 10141 items in history database, force: false
FAQ | Atuin Docs
How do I remove the default up arrow binding?
vim ~/.zshrc
eval "$(atuin init zsh --disable-up-arrow)"
source ~/.zshrc