# atuin を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

atuin のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:atuin
```

## エージェント安全性の回答

atuin stores and syncs shell history, which may include sensitive commands.

- **認証情報アクセス:** Reads shell history, sync tokens, and command text that may contain secrets.
- **リモート変更:** Can sync history to remote storage and change account state.
- **公開/成果物リスク:** Can publish sensitive command history to a sync backend.
- **推奨コントロール:** Gate sync, import, and commands that expose stored history.
- **エージェント利用ガイダンス:** Allow local search cautiously; require approval before sync or history export.

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install atuin
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install atuin
```

  証拠: MacPorts ports tree: sysutils/atuin/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add atuin
```

  証拠: Alpine Linux edge package indexes: atuin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install atuin
```

  証拠: Debian stable package indexes: atuin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install atuin
```

  証拠: Fedora Rawhide package metadata: atuin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#atuin
```

  証拠: nixpkgs package indexes: pkgs/by-name/at/atuin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S atuin
```

  証拠: Arch Linux sync databases: atuin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install atuin
```

  証拠: openSUSE Tumbleweed package metadata: atuin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/atuin
```

  証拠: Scoop official bucket manifest trees: bucket/atuin.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Atuinsh.Atuin -e
```

  証拠: Windows Package Manager source index: Atuinsh.Atuin from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:atuin
- **パッケージマネージャ:** Homebrew
- **バージョン:** 18.18.1
- **ソース概要:** Improved shell history for zsh, bash, fish and nushell
- **ホームページ:** <https://atuin.sh/>
- **リポジトリ:** <https://github.com/atuinsh/atuin>
- **最終更新:** 2026-07-28T04:34:53Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- atuin (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 18.18.1
## プロジェクトの歴史と使われ方

Atuin is a shell-history replacement that records commands in a local SQLite database, adds command context such as exit status and duration, and optionally syncs encrypted history between machines. It is popular with terminal-heavy users because it modernizes one of the oldest Unix workflows without forcing a specific shell.

### プロジェクトの歴史

The Atuin GitHub repository was created in October 2020. The README frames the project as replacing existing shell history with a SQLite database and adding contextual metadata, search UI, statistics, and optional encrypted synchronization through an Atuin server.

Atuin's early public release history in the GitHub releases API reaches at least the 0.6 series in 2021, with later version lines moving through v11 in 2022, v17 in 2023, and v18 in 2024. By the 18.x series, the project had a large release surface: prebuilt binaries, installers, shell integrations, a self-hosted server binary, documentation, and continuing changes to search, sync, daemon, and AI-related terminal workflows.

The project kept the local-first model central while expanding the surrounding system. Configuration docs still describe `~/.config/atuin/config.toml` and `~/.local/share/atuin`, while the sync guide documents registering, storing a local encryption key, and using manual or automatic sync.

### 採用の歴史

Atuin's adoption path followed shell users rather than service operators first. The README lists zsh, bash, fish, nushell, xonsh, and PowerShell support, and the quickstart flow is a shell install, `atuin register`, `atuin import auto`, and `atuin sync`.

The package-manager metadata in this batch shows wide packaging across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, WinGet, and openSUSE. That spread is a strong package-culture signal: Atuin is not only a Cargo crate or GitHub binary, but a tool distributions expect terminal users to install through their normal system package channels.

The README also advertises community channels and a contributor graph, while the GitHub API showed roughly thirty thousand stars during this run. Those are not functional requirements, but they explain why shell-history nerds recognize Atuin as part of the modern Rust CLI wave alongside tools that replace long-lived Unix defaults with richer local databases and fuzzy interfaces.

### 使われ方

Atuin's everyday usage is interactive: bind Ctrl-R or the up arrow to its full-screen history search, import old shell history, and search across commands with filters for exit status, time, current directory, session, host, or workspace. The README example searches successful `make` commands run after a natural-language time expression.

The configuration docs state that Atuin stores config in `~/.config/atuin/config.toml`, data under `~/.local/share/atuin` unless XDG variables override it, and defaults the local history database to `~/.local/share/atuin/history.db`. The same docs identify the encryption key and session-token paths, which is why package databases should treat those files as credentials rather than mere cache.

Sync is optional. With one machine it behaves like an encrypted backup; with multiple machines it unifies history across terminals and hosts. Users can use the hosted Atuin service, self-host `atuin-server`, or skip sync entirely.

### パッケージ好きにとっての重要性

Atuin is package-nerd catnip because it turns a humble dotfile-era feature into a cross-shell, cross-platform database-backed CLI with state, sync, packaging splits, and XDG-path behavior. Formula metadata has to know not just the executable name, but also the data files that become personal secrets.

It also illustrates the Rust CLI packaging pattern: upstream publishes release artifacts and installers, but downstream package managers carry the tool for users who want normal upgrades and shell integration without a curl pipe. The separate `atuin-server` formula adds another wrinkle because the same repository produces both a daily interactive CLI and a deployable sync service.

### タイムライン

- 2020: Atuin repository created on GitHub.
- 2021: Early 0.6 and 0.7 releases published.
- 2022: v0.10 shipped and the project later jumped to v11.
- 2023: v17 release line published.
- 2024: v18 release line began.
- 2026: v18.16.x releases included continued shell, sync, server, and AI workflow changes.

### Related projects

- atuin-server: the self-hosted sync server split into its own installable binary.
- SQLite: Atuin's default local history database.
- fzf-style fuzzy search: the documented inspiration for Atuin fuzzy search syntax.
- Native shell history in zsh, bash, fish, nushell, xonsh, and PowerShell: the behavior Atuin augments or replaces.

### ソース

- <https://api.github.com/repos/atuinsh/atuin>
- <https://api.github.com/repos/atuinsh/atuin/releases>
- <https://docs.atuin.sh/cli/configuration/config/>
- <https://docs.atuin.sh/cli/guide/sync/>
- <https://github.com/atuinsh/atuin#readme>


## セキュリティノート

formula declares a Homebrew service. generalized runtime or code generation signal.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/atuin/config.toml, ~/.config/atuin/config.toml

## Credential files

- Unix: $XDG_DATA_HOME/atuin/key, $XDG_DATA_HOME/atuin/session, ~/.local/share/atuin/key, ~/.local/share/atuin/session
## 他のパッケージマネージャ記録

- Debian apt - atuin - 18.6.1-1: normalized package name match | Debian stable package indexes: atuin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | magical shell history | https://atuin.sh
- Nix - atuin: normalized package name match | nixpkgs package indexes: pkgs/by-name/at/atuin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - atuin - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Magical shell history - offline only client | https://github.com/atuinsh/atuin
- apk - atuin-bash-completion - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for atuin | https://github.com/atuinsh/atuin
- apk - atuin-fish-completion - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for atuin | https://github.com/atuinsh/atuin
- apk - atuin-server - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Magical shell history - sync server | https://github.com/atuinsh/atuin
- apk - atuin-server-openrc - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-server-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Magical shell history (OpenRC init scripts) | https://github.com/atuinsh/atuin
- apk - atuin-sync - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-sync from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Magical shell history - client with history sync | https://github.com/atuinsh/atuin
- apk - atuin-zsh-completion - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for atuin | https://github.com/atuinsh/atuin
- apk - atuin-zsh-plugin - 18.6.1-r0: normalized package name match | Alpine Linux edge package indexes: atuin-zsh-plugin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Magical shell history (Zsh plugin) | https://github.com/atuinsh/atuin
- dnf - atuin - 18.12.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: atuin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Magical shell history | https://atuin.sh
- dnf - atuin-all-users - 18.12.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: atuin-all-users from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | atuin init script for all users | https://atuin.sh
- pacman - atuin - 18.18.1-1: normalized package name match | Arch Linux sync databases: atuin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Magical shell history | https://github.com/atuinsh/atuin
- zypper - atuin - 18.18.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: atuin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Magical shell history | https://github.com/ellie/atuin
- zypper - atuin-bash-completion - 18.18.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: atuin-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for atuin | https://github.com/ellie/atuin
- zypper - atuin-fish-completion - 18.18.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: atuin-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish completion for atuin | https://github.com/ellie/atuin


## Combined YAML source

View the package source record on GitHub. [combined/atuin.yml](https://github.com/mxcl/pkgdb/blob/main/combined/atuin.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
