Note

The installation steps of Atuin server can be found at Atuin server

Install

# Normal
curl -fSsL https://raw.githubusercontent.com/atuinsh/atuin/main/install.sh | bash
 
# If Arch Linux
pacman -S atuin

Configure

# Fish
vim ~/.config/fish/config.fish
-----
atuin init fish | source
-----
 
# Zsh
echo 'eval "$(atuin init zsh)"' >> ~/.zshrc
vim ~/.config/atuin/config.toml
-----
sync_address = "https://<your-domain>"
sync_frequency = "0"
-----

Sync

# Register
atuin register -u admin -e <your-email> -p <your-password>
 
# Get atuin key
atuin key
 
## This is a example key output
-----
prevent vessel accuse lake teach lock canyon rail ***** ***** suggest pattern industry include author pelican chest pioneer siege current stick spawn erosion spot
-----
 
# Login
atuin login -u admin -p <your-password> -k "prevent vessel accuse lake teach lock canyon rail ***** ***** suggest pattern industry include author pelican chest pioneer siege current stick spawn erosion spot"
 
# Sync
atuin sync
 
## or force sync
atuin sync -f