MrTechKing

7 min read

Atuin: Searchable Shell History That Syncs Between Computers (GitHub, Scanned)

A free, searchable shell history: Ctrl-R finds any command you ran, with its folder and exit code, and can sync between machines.

Atuin logo
✅
Scan: safe. Nothing malicious. Three things to know: setup ticks agent conversation capture when it finds Claude Code or Codex, the app checks atuin.sh for new versions, and sync goes to the company's free hosted service unless you run your own. Scanned Nov 21, 2026; the full report is below.

Atuin is a free tool that replaces your shell's history with a searchable database. Every command you run is saved with the folder it ran in, how long it took, whether it worked and which computer it was on. Press Ctrl-R, or the up arrow, and a full-screen search opens: type a few letters, narrow it to this folder or this machine, then press Enter to run the command again or Tab to edit it first.

It earns its place for anyone who works on more than one computer or forgets the exact command they ran last month. With a free account your history syncs between machines, encrypted on your computer before it leaves, or you can run the sync server yourself or stay fully offline. Newer versions can also keep your sessions with AI coding agents such as Claude Code and Codex, a feature called Threads, so you can search them or resume one on another machine, and a built-in MCP server lets those agents search your history. Threads is off in the default settings, but the setup screen offers it, already ticked, when it finds an agent.

Atuin is MIT-licensed and written in Rust. Ellie Huxtable started it in 2020, and it is now maintained by Atuin, Inc., the company that runs the hosted sync service, with about 350 contributors and about 32,500 stars. Version 18.25.1 came out on 20 November 2026.

  • Repository: github.com/atuinsh/atuin
  • Licence: MIT (MIT License)
  • Language: Rust. Stars: 32.5K. Forks: 1,052. Last push: Nov 21, 2026.
  • Scan: safe, Nov 21, 2026, commit 86573ef

Who it is for

Developers, sysadmins, people who work across several computers or servers, and heavy users of AI coding agents. It works with zsh, bash, fish, Nushell, xonsh and PowerShell on macOS, Linux and Windows; you need to be comfortable in a terminal.

Getting started

1. Install on macOS or Linux with Homebrew

brew install atuin

2. Then open the setup screen: it hooks Atuin into your shell, imports your old history and asks about sync, the background daemon and agent Threads. Untick what you do not want

atuin setup

3. Or use the official one-line installer, which downloads the release and opens the same setup screen

curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh

4. Open a new terminal and press Ctrl-R, or search from the command line, here for make commands that worked

atuin search --exit 0 make

The installer puts atuin in ~/.atuin/bin and adds that folder to your PATH in your shell startup files, without sudo; setup adds the atuin init line to your shell config. If it finds Claude Code, Codex or another agent, setup also offers to add Atuin's hooks and MCP server to that agent's settings, such as ~/.claude/settings.json. Sync stays off until you create an account or log in. Our scan covers the source code, not the prebuilt binaries.

Safety scan

We cloned atuinsh/atuin at commit 86573ef on Nov 21, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.

  • No real secrets. All 22 secret hits, in crates/atuin-common/src/secrets.rs, secrets/structural.rs and crates/atuin-daemon/src/session_capture/tools.rs, are test inputs for Atuin's own filter that keeps tokens and keys out of your history. Most are made-up values, such as a token made of 1234567890 and the alphabet; two GitHub tokens carry a comment saying they were real and have since been expired. No committed binaries across 1,114 files and about 291,000 lines, mostly Rust.
  • 2 pattern hits, both in the project's development container: .devcontainer/Dockerfile pipes Claude Code's installer into bash, and .devcontainer/features/atuin/install.sh pipes setup.atuin.sh into bash. Neither runs when you install Atuin.
  • The quickstart pipes setup.atuin.sh into sh. We fetched it on 21 November 2026 and it matched install.sh in the repository: it runs the release installer from GitHub, which copies atuin into ~/.atuin/bin and adds it to your PATH in your shell startup files with no sudo, then opens atuin setup. That screen is where you choose the shell hooks, Ctrl-R and up-arrow search, sync, the daemon, and Threads with hooks and an MCP server for any agents it finds; Threads comes pre-ticked when it finds one.
  • 10 advisories, none critical. In the 777 Rust packages of Cargo.lock: 2 high denial-of-service bugs in quick-xml, which Atuin uses to read and write macOS service files and, while compiling, Wayland protocol files; one unrated SQLite bug; and notices that basic-toml, chrono and humantime are no longer maintained. The other 4, 2 high and 2 moderate in soupsieve, are in docs/uv.lock, the tools that build the documentation website.
  • The program contacts api.atuin.sh to check for a new version at most once an hour when you open search (setting update_check to false turns it off), and the sync server only after you sign in; history and Threads are encrypted on your machine before upload. Output capture and Threads are off in the default settings, and OpenTelemetry tracing exists only in a separate build option. 8 workflows, no pull_request_target; none of the 12 third-party actions is pinned to a commit. Releases are built with cargo-dist and carry GitHub build attestations. A security policy and Dependabot are present; no CodeQL or OpenSSF Scorecard score.

What the scanner counted

CheckResult
Secrets22 candidates found and read; see the notes above.
Suspicious code2 pattern hits found and read; every one is listed under the raw findings.
Install-time code5 Cargo build scripts. 5 installer scripts (one fetches and runs a remote script; one edits your shell profile)
Committed binariesNone.
CI workflows8 workflows. None use pull_request_target. 12 of 12 third-party actions pinned to a tag rather than a commit.
Network hosts40 distinct hosts referenced from source; most often github.com, h.example, host.example, en.wikipedia.org. No URLs to bare IP addresses.
Known vulnerabilities10 advisories across 837 pinned packages: 0 critical, 4 high, 2 moderate, 0 low, 4 unrated. Cargo.lock: 777 packages, 6 advisories; docs/uv.lock: 60 packages, 4 advisories.
Project hygieneHas security policy, automated dependency updates, licence file, contributing guide. Missing CodeQL.
OpenSSF ScorecardNot scored: the project is not in Scorecard's weekly index.

The raw findings

Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.

Secret candidates (22, redacted)
WhereRuleMatch
crates/atuin-common/src/secrets.rs:224github-tokenghp_R2…muH (40 chars)
crates/atuin-common/src/secrets.rs:241github-tokengithub…5p0 (93 chars)
crates/atuin-common/src/secrets.rs:253github-tokengho_12…x00 (40 chars)
crates/atuin-common/src/secrets.rs:264github-tokenghu_12…x00 (40 chars)
crates/atuin-common/src/secrets.rs:314gitlab-tokenglpat-…Sfy (26 chars)
crates/atuin-common/src/secrets.rs:324slack-tokenxoxb-1…qgy (53 chars)
crates/atuin-common/src/secrets.rs:334slack-tokenxoxp-1…qgy (53 chars)
crates/atuin-common/src/secrets.rs:345slack-webhookhooks.…XXX (69 chars)
crates/atuin-common/src/secrets.rs:1030github-tokenghp_R2…muH (40 chars)
crates/atuin-common/src/secrets.rs:1061github-tokenghp_R2…muH (40 chars)
crates/atuin-common/src/secrets.rs:1066github-tokenghp_R2…muH (40 chars)
crates/atuin-common/src/secrets.rs:1070github-tokenghp_R2…muH (40 chars)
crates/atuin-common/src/secrets.rs:1516slack-tokenxoxb-1…901 (26 chars)
crates/atuin-common/src/secrets.rs:1687github-tokenghp_R2…muH (40 chars)
crates/atuin-common/src/secrets/structural.rs:72private-key-----B…--- (35 chars)
crates/atuin-common/src/secrets/structural.rs:81private-key-----B…--- (31 chars)
crates/atuin-daemon/src/session_capture/tools.rs:669github-tokenghp_R2…muH (40 chars)
crates/atuin-daemon/src/session_capture/tools.rs:681github-tokenghp_R2…muH (40 chars)
crates/atuin-daemon/src/session_capture/tools.rs:704private-key-----B…--- (37 chars)
crates/atuin-daemon/src/session_capture/tools.rs:752private-key-----B…--- (37 chars)
crates/atuin-daemon/src/session_capture/tools.rs:784github-tokenghp_R2…muH (40 chars)
crates/atuin-daemon/src/session_capture/tools.rs:1025github-tokenghp_R2…muH (40 chars)
Pattern hits (2)
WhereRuleMatch
.devcontainer/Dockerfile:55download-piped-to-shellRUN curl -fsSL https://claude.ai/install.sh | bash
.devcontainer/features/atuin/install.sh:9download-piped-to-shellcurl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | bash
Installer scripts (5)
Worst known vulnerabilities (10 of 10)
AdvisorySeverityPackageSummary
RUSTSEC-2026-0194highquick-xml@0.39.4Quadratic run time when checking a start tag for duplicate attribute names
RUSTSEC-2026-0195highquick-xml@0.39.4Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service
GHSA-6655-6qjp-jx7xhighsoupsieve@2.9Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
GHSA-mmhr-3c5m-f64fhighsoupsieve@2.9Soup Sieve: Polynomial-time denial of service in the descendant combinator
GHSA-4j63-6c4x-wfg4moderatesoupsieve@2.9Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
GHSA-7g44-g9rc-x53wmoderatesoupsieve@2.9Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
RUSTSEC-2026-0374unknownbasic-toml@0.1.10`basic-toml` is unmaintained
RUSTSEC-2026-0543unknownchrono@0.4.45chrono is unmaintained
RUSTSEC-2026-0542unknownhumantime@2.3.0humantime is unmaintained
GHSA-72w2-rjgg-q729unknownlibsqlite3-sys@0.30.1`libsqlite3-sys` via C SQLite CVE-2026-119375

By the numbers

Stars32.5K
Forks1,052
Contributors346
Commits2,677
Open issues318
Open pull requests146
Releases106
Latest releasev18.25.1
LicenceMIT
Main languageRust
Project age6 years
Last pushNov 21, 2026
Tracked files1,114
Lines of code291.3K
Checkout size16 MB

Lines by language: Rust 255.9K, Markdown 11.5K, Protobuf 7,647, JSON 4,231, Shell 3,265, TOML 2,530.

Questions

Is Atuin free?

Yes. It is free and open source under the MIT licence, and atuin.sh says the hosted sync service is free too, with no cap on history. You can also run the open-source sync server yourself. The site lists a Threads for teams beta with no published price.

Atuin or fzf?

Atuin if you want one search over the history of all your machines, with folders, exit codes and timings. fzf's Ctrl-R is a lighter fuzzy search over your normal history file, and fzf does much more besides. Atuin does not need fzf.

Does Atuin send my data anywhere?

Only if you turn on sync. Until you sign in, history stays in a local database; synced history and Threads are encrypted on your machine first. It also checks atuin.sh for new versions, which atuin config set update_check false turns off.

Does Atuin record my AI agent chats?

Only if you leave Threads on. It is off in the default settings, but the setup screen ticks it when it finds Claude Code, Codex or another agent, and then adds hooks to that agent's settings. Untick it there to keep it off. What it does keep goes through the same secret filter as your history.

How do I uninstall Atuin?

Run atuin setup and untick your agents to take its hooks out of them, remove the atuin init line from your shell config, run atuin account delete if you made a sync account, then brew uninstall atuin. Deleting ~/.atuin removes your history, settings and, if you used the installer, the program.


This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.