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:
atuin setup --only --sync https://atuin.example.comSetup 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:
# Create a new accountatuin register -u <USERNAME> -e <EMAIL>
# Log in to an existing accountatuin 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.
Manual Configuration
Section titled “Manual Configuration”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"