Basic Usage
Now that you’re all setup and running, here’s a quick walkthrough of how you can use Atuin best
What does Atuin record?
While you work, Atuin records
- The command you run
- The directory you ran it in
- The time you ran it, and how long it took to run
- The exit code of the command
- The hostname + user of the machine
- The shell session you ran it in
Opening and using the TUI
At any time, you can open the TUI with the default keybindings of the up arrow, or control-R.
Once in the TUI, press enter to immediately execute a command, or press tab to insert it into your shell for editing.
While searching in the TUI, you can adjust the “filter mode” by repeatedly pressing ctrl-r. Atuin can filter by
- All hosts
- Just your local machine
- The current directory only
- The current shell session only
Common config adjustment
For a full set of config values, please see the config reference page
The default configuration file is location at ~/.config/atuin/config.toml
Keybindings
We have a full page dedicated to keybinding adjustments, there are a whole bunch of options here! Including disabling the up arrow if you don’t like it.
Read more here
Enter to run
You may prefer that Atuin always inserts the selected command for editing. To configure this, set
in your config file.
Inline window
If you find the full screen TUI overwhelming or too much, you can adjust it like so
You may also prefer the compact UI mode