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 atuin2. 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 setup3. 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 | sh4. Open a new terminal and press Ctrl-R, or search from the command line, here for make commands that worked
atuin search --exit 0 makeThe 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
| Check | Result |
|---|---|
| Secrets | 22 candidates found and read; see the notes above. |
| Suspicious code | 2 pattern hits found and read; every one is listed under the raw findings. |
| Install-time code | 5 Cargo build scripts. 5 installer scripts (one fetches and runs a remote script; one edits your shell profile) |
| Committed binaries | None. |
| CI workflows | 8 workflows. None use pull_request_target. 12 of 12 third-party actions pinned to a tag rather than a commit. |
| Network hosts | 40 distinct hosts referenced from source; most often github.com, h.example, host.example, en.wikipedia.org. No URLs to bare IP addresses. |
| Known vulnerabilities | 10 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 hygiene | Has security policy, automated dependency updates, licence file, contributing guide. Missing CodeQL. |
| OpenSSF Scorecard | Not 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)
Pattern hits (2)
| Where | Rule | Match |
|---|---|---|
| .devcontainer/Dockerfile:55 | download-piped-to-shell | RUN curl -fsSL https://claude.ai/install.sh | bash |
| .devcontainer/features/atuin/install.sh:9 | download-piped-to-shell | curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | bash |
Installer scripts (5)
- .buildkite/scripts/install-blesh.sh, 11 lines; talks to github.com
- .buildkite/scripts/run-tests.sh, 58 lines
- .buildkite/scripts/start-postgres.sh, 22 lines
- .devcontainer/features/atuin/install.sh, 31 lines, edits your shell profile, fetches and runs a remote script; talks to setup.atuin.sh
- install.sh, 232 lines, edits your shell profile; talks to forum.atuin.sh, github.com
Worst known vulnerabilities (10 of 10)
| Advisory | Severity | Package | Summary |
|---|---|---|---|
| RUSTSEC-2026-0194 | high | quick-xml@0.39.4 | Quadratic run time when checking a start tag for duplicate attribute names |
| RUSTSEC-2026-0195 | high | quick-xml@0.39.4 | Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service |
| GHSA-6655-6qjp-jx7x | high | soupsieve@2.9 | Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER |
| GHSA-mmhr-3c5m-f64f | high | soupsieve@2.9 | Soup Sieve: Polynomial-time denial of service in the descendant combinator |
| GHSA-4j63-6c4x-wfg4 | moderate | soupsieve@2.9 | Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time |
| GHSA-7g44-g9rc-x53w | moderate | soupsieve@2.9 | Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack |
| RUSTSEC-2026-0374 | unknown | basic-toml@0.1.10 | `basic-toml` is unmaintained |
| RUSTSEC-2026-0543 | unknown | chrono@0.4.45 | chrono is unmaintained |
| RUSTSEC-2026-0542 | unknown | humantime@2.3.0 | humantime is unmaintained |
| GHSA-72w2-rjgg-q729 | unknown | libsqlite3-sys@0.30.1 | `libsqlite3-sys` via C SQLite CVE-2026-119375 |
By the numbers
| Stars | 32.5K |
|---|---|
| Forks | 1,052 |
| Contributors | 346 |
| Commits | 2,677 |
| Open issues | 318 |
| Open pull requests | 146 |
| Releases | 106 |
| Latest release | v18.25.1 |
| Licence | MIT |
| Main language | Rust |
| Project age | 6 years |
| Last push | Nov 21, 2026 |
| Tracked files | 1,114 |
| Lines of code | 291.3K |
| Checkout size | 16 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.
