⚡ 73 developer tools, always updated, new upstream releases land in apt within hours. Join the Discord

🎁 The apt mirror needs a subscription. Plans start at €15 a year. See pricing · 🆓 There is an always-free mirror · 🔐 apt returning 401?

🧠 Install Latest Atuin AI on Debian

The Atuin shell agent: press ? at an empty prompt to chat with your own Atuin AI server

Latest version: 0.1.0.20261125 · updated 2026-11-25
SourceVersion
deb.griffo.io0.1.0.20261125 ✅
Official Debian🚫 not packaged
← Back to home
📌 Installing on a specific release? Debian 12 (bookworm) · Debian 13 (trixie) · Debian 14 (forky) · Debian Sid

What is Atuin AI?

Atuin AI is the shell agent for Atuin. Atuin shipped it built in up to 18.24 and removed it in 18.25; it now lives on as a standalone binary, atuin-ai. Press ? at an empty prompt and a chat opens right in your terminal: describe what you want and it suggests the command, or ask a question and it answers. With your permission it can also search your Atuin history, read and edit files and run commands. It talks to an Atuin AI server that you host yourself (upstream publishes it as a Docker image), and that server can sit in front of any OpenAI-compatible endpoint: Ollama, vLLM or a hosted API. The client is written in Rust by the Atuin team and is MIT licensed.

🚀 Why Latest Versions Matter: Atuin AI is young and moves fast, and upstream publishes no releases at all, only commits to main. This repository builds a snapshot every Friday when main has moved, versioned <client version>.<YYYYMMDD> (for example 0.1.0.20261127), so apt upgrade brings you the week's changes without a Rust toolchain. Debian does not package atuin-ai at all.

⚡ Key Features of Atuin AI

❓ One Key Away

Press ? on an empty prompt to open the agent. Anywhere else ? types a question mark as usual, so it never gets in the way of a command you are writing.

💡 Command Suggestions

Describe the task in plain words ("find files over 1 GB changed this week") and get back a command you can read, edit and run, instead of digging through man pages.

📜 Knows Your History

With permission, the agent searches your Atuin history, so it can find the command you ran last month or build on how you usually do things on this machine.

🛠️ Files and Commands

It can read and edit files and run commands for you, and it asks before it does. You stay in charge of what touches your system.

🏠 Your Own Server

The client talks to an Atuin AI server you run yourself, so your prompts and history go where you decide. Upstream ships the server as ghcr.io/atuinsh/atuin-ai-server.

🔌 Any OpenAI-Compatible Model

The server works with any OpenAI-compatible endpoint: a local model through Ollama or vLLM, or a hosted API. Swap models on the server without touching the client.

🚀 Always ahead of the official archives: Debian and Ubuntu freeze package versions when a release ships. This repository publishes new upstream releases typically within hours. A simple apt upgrade keeps you on the latest version.

📦 Installation from deb.griffo.io

Run the commands

Step 1: Add Repository

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(. /etc/os-release; echo ${DEBIAN_CODENAME:-${UBUNTU_CODENAME:-$VERSION_CODENAME}}) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt update
install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(. /etc/os-release; echo ${DEBIAN_CODENAME:-${UBUNTU_CODENAME:-$VERSION_CODENAME}}) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update
sudo apt install extrepo
sudo extrepo enable griffo
sudo apt update

🆓 There is an always-free mirror. deb-free.griffo.io serves packages free forever, no account, no subscription, at most 2 months behind upstream, security fixes immediately. It currently carries cliamp, Forgejo Runner, Ghostty, lazydocker, Oh My Posh, Uncloud and Zed; Atuin AI is not one of them, so the repository above is the only way to get it today, ask and it can be enrolled.

How the free mirror works →

🧩 About the extrepo option. extrepo is Debian's own tool for external repositories: it writes the sources file and installs the signing key for you, checking the key against signed metadata first. This repository is registered with it as griffo, and the always-free mirror as griffo-free, so on Debian (bookworm, trixie, forky and sid) the commands above are the whole setup.

extrepo sets up the sources file and the key only, so a subscription's credentials still go in /etc/apt/auth.conf.d/deb.griffo.io.conf. Ubuntu is not covered, because extrepo publishes metadata for Debian suites only: there, use the sudo or root commands.

Step 2: Install Atuin AI

# Install latest Atuin AI; Atuin itself comes along as a dependency
sudo apt install atuin-ai

# Verify installation
atuin-ai --version
# Install latest Atuin AI; Atuin itself comes along as a dependency
apt install atuin-ai

# Verify installation
atuin-ai --version

Step 3: First run

# Point the client at your Atuin AI server
# (a commented example: /usr/share/doc/atuin-ai/examples/ai.example.toml)
mkdir -p ~/.atuin
cat > ~/.atuin/ai.toml <<'EOF'
endpoint = "http://localhost:8080"
# api_token = "..."   # only when the server sets AUTH_TOKEN
EOF

# Bind ? in your shell, after Atuin's own init line
echo 'eval "$(atuin-ai init bash)"' >> ~/.bashrc

# Open a new shell, then press ? at an empty prompt
exec bash

🎯 Basic Usage Examples

Shell setup:

# bash, in ~/.bashrc
eval "$(atuin init bash)"
eval "$(atuin-ai init bash)"

# zsh, in ~/.zshrc
eval "$(atuin init zsh)"
eval "$(atuin-ai init zsh)"

# fish, in ~/.config/fish/config.fish
atuin init fish | source
atuin-ai init fish | source

Running the server:

# Only the client is packaged; the server is upstream's Docker image
docker pull ghcr.io/atuinsh/atuin-ai-server

# Configure it with your OpenAI-compatible endpoint (Ollama, vLLM, a hosted API)
# as upstream's Self-Hosting guide describes, then check it answers
curl http://localhost:8080/api/cli/models

Day to day:

# At an empty prompt, press ? and ask, for example:
#   which process is listening on port 5432?
#   compress every .log file in this directory older than 7 days
#   what was the rsync command I used for the backups?

# Everything the client can do
atuin-ai --help

# The shell code it installs
atuin-ai init bash

🔧 Tool Integrations

Atuin AI sits between your shell, your Atuin history and a model you choose:

  • Atuin: a hard dependency, installed with it from deb.griffo.io; the agent searches the same history database atuin search uses, and only when you allow it
  • Atuin 18.25 and later: 18.25 dropped the built-in agent, so this package is how you keep the ? chat on a current Atuin
  • bash, zsh and fish: atuin-ai init bash, zsh or fish prints the key binding; load it after Atuin's own init so both bindings coexist
  • Atuin AI server: ghcr.io/atuinsh/atuin-ai-server, run with Docker or Podman on the same machine or anywhere the client can reach; set AUTH_TOKEN there and api_token in ~/.atuin/ai.toml to lock it down
  • Ollama and vLLM: keep every prompt on your own hardware by pointing the server at a local OpenAI-compatible endpoint
  • Hosted APIs: any provider that speaks the OpenAI API works the same way, configured on the server, never in the client

🚀 Why Choose deb.griffo.io?

📊 Repository Comparison:
  • Official Debian: does not package Atuin AI, apt install atuin-ai fails on a stock system
  • Upstream downloads: there are none: upstream publishes no releases, tags or binaries for the client
  • cargo build from source: a clone, a Rust toolchain and a few minutes of compiling, repeated by hand whenever main moves
  • deb.griffo.io: latest version with automatic updates

📦 Package Build Repository

The Debian packages are automatically built and maintained in this GitHub repository:

🔗 Related Packages

Also available from deb.griffo.io:

🎯 Perfect for: Atuin users who relied on the ? agent and upgraded past 18.24, people who want a command-line assistant that runs against their own server and their own model, and anyone who would rather ask for a command than search for it.

💝 Support This Project

If this repository saves you time and effort, please consider supporting it!

⭐ Star on GitHub 🐦 Share on Twitter

Just after the command? See apt install atuin-ai, one page covering Debian and Ubuntu.

📦 Recent releases from this repository

📚 Release-specific install guides

❓ Frequently asked questions

Is Atuin AI in the official Debian repositories?

No, Atuin AI is not packaged in the official Debian archives. This repository is currently the only apt source, serving Atuin AI 0.1.0.20261125.

How do I install the latest Atuin AI on Debian?

Add the deb.griffo.io repository once using the instructions above, then run: sudo apt install atuin-ai. New releases arrive through the normal sudo apt upgrade.

Are the packages signed and how are they built?

Every package is signed with the repository's GPG key (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) and built from upstream releases in public GitHub packaging repositories that anyone can inspect.

Which Debian releases are supported?

Debian 12 Bookworm, Debian 13 Trixie, Forky and Sid.