Skip to content
Atuin

Self-hosted Atuin

Atuin sync is open-source and we commit to self-hosted users.

To use a self-hosted server, point Atuin at it:

Terminal window
atuin setup --only --sync https://atuin.example.com

Setup sets sync_address in ~/.atuin/config.toml. If this machine is logged in to another server, setup logs it out. atuin setup without --only asks for the address on its Sync step instead:

Then create an account on your server, or log in to the account you already have there:

Terminal window
# Create a new account
atuin register -u <USERNAME> -e <EMAIL>
# Log in to an existing account
atuin login -u <USERNAME>

Both commands ask for your password. atuin login also asks for your encryption key, which atuin key prints on a machine that’s already logged in. See atuin account for every flag.

You can also edit the sync_address in the ~/.atuin/config.toml file and set the value there, or set the ATUIN_SYNC_ADDRESS environment variable:

# At the start of the file:
sync_address = "https://self-hosted-atuin"