Skip to content

atuin

Shell history replacement with SQLite storage and encrypted sync for terminal users

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

81

Health

Thriving

Overview

Stars

32,587

Last commit

today

Nov 2026

Repository age

6 years

since Oct 2020

Latest version

v18.25.1

Nov 2026

Contributors

–

13 active in 90 days

Releases

16

last 12 months

Language

Rust

Atuin replaces your shell history with a SQLite database. Each command is stored with its exit code, working directory, host and duration. Press Ctrl-R to open a search pane, then run or edit the command you pick. A CLI search also filters by exit code and time, for example successful make runs after a given hour.

It also records sessions from AI coding agents such as Claude Code, Codex and OpenCode. You can resume a thread on another machine, even in a different agent. An optional built-in MCP server lets agents search your history.

History and threads can sync across machines with end-to-end encryption. You can use the official sync service, host the sync server yourself, or stay fully offline. Supported shells are zsh, bash, fish, nushell, xonsh and PowerShell. It runs on Linux and macOS, installs with a shell script or Homebrew, and is written in Rust under the MIT license.

It has no specific proprietary product it replaces. It suits people who want a searchable, portable record of their terminal work.

Who it's for

Developers working on several machines

Encrypted sync gives you the same searchable history on laptops, servers and VMs.

Skip if: You use one machine and the default shell history is enough.

Engineers using AI coding agents

Threads can be searched and resumed on another machine or in another agent.

Skip if: You do not use agents and have no need for session capture.

Privacy-minded terminal users

You can run it offline or self-host the sync server.

Skip if: You need a fully managed enterprise audit tool.

The problem it solves

Default shell history is short on context and stays on one machine. Finding a command you ran weeks ago on another host is slow. Atuin stores richer records and makes them searchable and syncable.

Strengths

  • Records exit code, directory, host and duration for each command
  • Syncs end-to-end encrypted, or works fully offline
  • Self-hostable sync server
  • Supports zsh, bash, fish, nushell, xonsh and PowerShell
  • MIT license with 16 releases in the past year

Trade-offs

  • Shell hooks mean you must restart your shell after install
  • Agent thread features add scope you may not need
  • Official packages listed cover Linux and macOS, not Windows

Self-host atuin

Self-hostable
Yes

Quick start

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

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Atuin free?

Yes. It is MIT licensed and you can use it offline at no cost.

Can I self-host sync?

Yes. You can use the official service or host the sync server yourself.

Is synced data encrypted?

Yes. Everything it syncs is end-to-end encrypted.

Which shells work?

zsh, bash, fish, nushell, xonsh and PowerShell.

Similar tools in Developer utilities

OmniTools

Developer utilities

Self-hosted collection of browser-based file, image, PDF and data tools

11k 774 31 days ago Slowing MIT

Beekeeper Studio

Developer utilities

Cross-platform SQL editor and database manager for developers who want a simple interface

24k 1.7k today Thriving GPL-3.0

Opengist

Developer utilities

Self-hosted pastebin that stores snippets in Git, for developers who want their own Gist

3.4k 209 3 days ago Thriving AGPL-3.0

Judge0 CE

Developer utilities

Self-hostable sandboxed code execution API for judges, learning platforms and AI agents

4.5k 945 29 days ago Slowing GPL-3.0

CyberChef

Developer utilities

Browser-based toolkit for encoding, encryption, hashing and data analysis

37k 4.2k 3 days ago Thriving Apache-2.0

IT-Tools by sharevb

Developer utilities

Self-hosted collection of browser-based developer utilities, a community fork of IT-Tools

1.8k 186 yesterday Active GPL-3.0