Installation
Recommended installation approach
Let’s get started! First up, you will want to install Atuin. The recommended approach is to use the installation script, which automatically handles the installation of Atuin including the requirements for your environment.
It will install a binary to ~/.atuin/bin
, and if you’d rather do something else
then the manual steps below offer much more flexibility.
Manual installation
Installing the binary
If you don’t wish to use the installer, the manual installation steps are as follows.
It’s best to use rustup to get setup with a Rust toolchain, then you can run:
Please note that this requires the protobuf compiler to be installed
Atuin is also available in MacPorts
This repository is a flake, and can be installed using nix profile
:
Atuin is also available in nixpkgs:
Atuin is available in the Arch Linux extra repository:
Atuin is available in the Void Linux repository:
Atuin is available in the Termux package repository:
Atuin is installable from github-releases directly:
Atuin builds on the latest stable version of Rust, and we make no promises regarding older versions. We recommend using rustup.
Installing the shell plugin
Once the binary is installed, the shell plugin requires installing. If you use the install script, this should all be done for you! After installing, remember to restart your shell.
Atuin works best in bash when using ble.sh.
With ble.sh installed and loaded in ~/.bashrc
, just add atuin to your ~/.bashrc
Bash-preexec can also be used, but you may experience some minor problems with the recorded duration and exit status of some commands.
To use bash-preexec, download and initialize it
Then setup Atuin
Add
to your is-interactive
block in your ~/.config/fish/config.fish
file
Run in Nushell:
Add to config.nu
:
Add
to the end of your ~/.xonshrc
Upgrade
Run atuin-update
, and if that command is not available, run the install script again.
If you used a package manager to install Atuin, then you should also use your package manager to update Atuin.
Uninstall
If you’d like to uninstall Atuin, please check out this page.