S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
linux 2026-10-25

Install Atuin 18.24.2 on Ubuntu 24.04 (Searchable Shell History)

Companion guide to the video: Install Atuin 18.24.2 on Ubuntu 24.04 (Searchable Shell History)

In the video: the presenter installs Atuin 18.24.2 on 64-bit Ubuntu 24.04 by checking the OS and bash version, creating a local bin folder, downloading the Linux tarball and its checksum from the official GitHub releases page, verifying the hash, extracting the binary into the local bin, confirming version 18.24.2, adding one init line to the bash config, importing existing history with one command, and searching it in a fresh shell with Ctrl+R.

Added from the sources: this guide adds the exact release asset names and download URLs from the GitHub release API, the docs-recommended installer script as an alternative, the exact bash plugin line from the official docs, import variants, the optional sync commands, and troubleshooting via atuin doctor — all linked inline below.

What Atuin gives you

Atuin replaces the flat ~/.bash_history file with a SQLite database that records extra context per command — directory, duration, exit code, and session — so search returns matches with full context instead of bare lines. Local search works with no account; syncing across machines is optional and end-to-end encrypted. Details: Atuin docs home.

Prerequisites

Check both prerequisites with two commands (untested — run before continuing):

Expected outputs (from standard Ubuntu tooling, untested here):

Get the verified release

Version 18.24.2 was published 2026-10-22 on the official releases page: Atuin releases. For 64-bit Linux the asset you want is atuin-x86_64-unknown-linux-gnu.tar.gz alongside its .sha256 checksum file and the aggregate sha256.sum. Full asset list: release v18.24.2.

GitHub releases card for Atuin 18.24.2 listing per-platform tarballs with published checksums and signed-tag attestation
GitHub releases card for Atuin 18.24.2 listing per-platform tarballs with published checksums and signed-tag attestation (Still from the walkthrough video.)

Create a local bin folder so the install needs zero sudo (untested):

Download the tarball and its checksum into a working directory (untested — URLs verified to exist 2026-10-25, see verification.md):

Verify the hash matches before extracting anything (untested):

Recreated terminal downloading the tarball and checksum, then running sha256sum with a checksum-matches confirmation
Recreated terminal downloading the tarball and checksum, then running sha256sum with a checksum-matches confirmation (Still from the walkthrough video.)

Install the binary

Extract the archive and copy the binary into your local bin, then confirm the version (all untested):

Expected output (untested):

Make sure ~/.local/bin is on your PATH — if the shell cannot find atuin, add the export line to ~/.bashrc, open a fresh shell, and retry (untested).

Wire Atuin into bash

Add the init line to your bash config so every new interactive shell loads Atuin automatically. The exact line comes from the official installation docs (untested):

Then bring your existing history with one command — Atuin detects bash and imports everything (untested):

Recreated terminal running atuin import auto, detecting bash and completing the history import with sync off
Recreated terminal running atuin import auto, detecting bash and completing the history import with sync off (Still from the walkthrough video.)

If auto-detection ever misses, the explicit variant is atuin import bash, per the import docs. Your old history file keeps being updated either way.

Search your history

Open a fresh shell so the init line loads, then search (untested):

Optional sync across machines

Local search already works with no account. To sync history across machines later, the docs give these commands — setting up sync (untested, optional):

Faster alternative: the installer script

If you would rather skip the manual tarball flow, the docs recommend an installer script that places the binary in ~/.atuin/bin and walks you through history import and sync setup. Pass the non-interactive flag in scripts or containers. Source: installation docs (untested):

The video deliberately uses the manual tarball path so you verify checksums yourself — pick whichever fits your setup.

Troubleshooting

More homelab and Linux guides live at s-scottek.com guides.

Watch the walkthrough

Watch on YouTube