# Install atuin-server with Homebrew, apk, pacman

Sync server for atuin - Improved shell history for zsh, bash, fish and nushell. Version 18.16.1 via Homebrew; verified 2026-05-13.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install atuin-server
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add atuin-server
```

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

- pacman (92%):

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

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

## Package facts

- **Package key:** brew:atuin-server
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/atuin-server>
- **Version:** 18.16.1
- **Source summary:** Sync server for atuin - Improved shell history for zsh, bash, fish and nushell
- **Homepage:** <https://atuin.sh>
- **Repository:** <https://github.com/atuinsh/atuin>
- **Upstream docs:** <https://docs.atuin.sh/cli/self-hosting/server-setup>
- **License:** MIT
- **Source archive:** <https://github.com/atuinsh/atuin/releases/download/v18.16.1/source.tar.gz>
- **Last updated:** 2026-05-13T03:02:12Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- atuin-server (cli)
- atuin-server (alias)

## Build dependencies

- protobuf
- rust

## Install behavior

- Post-install hook: not defined
- Service: declared
- Caveats: The configuration file is located at: $HOMEBREW_PREFIX/etc/atuin-server/server.toml
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 18.16.1
- Package-manager updated: 2026-05-13
- Local data: ok
- Upstream repository: https://github.com/atuinsh/atuin
- info: No cached GitHub release or tag data was available.
## Project history and usage

atuin-server is the self-hosted sync companion for Atuin, the shell-history tool that stores command history in SQLite locally and can synchronize encrypted history between machines. The server package matters to package users because it splits Atuin's privacy-preserving sync backend into a deployable binary that can be installed, containerized, and upgraded separately from the interactive shell-history CLI.

### Project history

The Atuin repository was created in October 2020 and describes the project as replacing traditional shell history with a SQLite database plus extra command context. Its README presents sync as optional and fully encrypted, with users able to rely on the hosted service, self-host, or run entirely without sync.

The server moved from being started through the main `atuin` binary to a separate `atuin-server` binary before v18.12.0. The current self-hosting guide documents that upgrade boundary and states that every release publishes prebuilt `atuin-server` binaries and installer scripts.

### Adoption history

Atuin's README advertises support for zsh, bash, fish, nushell, xonsh, and PowerShell, which put the client in the daily path of shell users rather than only in a backend role. The same repository publishes release assets for both `atuin` and `atuin-server` across Linux, macOS, Windows, and musl targets, giving package managers a clear split between the interactive CLI and the deployable sync service.

The Homebrew package metadata in this batch shows `atuin-server` packaged separately from `atuin`, while the same source facts list Alpine, Homebrew, and Arch packages. That separate formula tracks the upstream split: users who only need the local shell-history UI install `atuin`, while operators who want private sync install `atuin-server`.

### How it is used

A self-hosted server can be started with `atuin-server start` and configured through `~/.config/atuin/server.toml` or environment variables. The documented server configuration includes listen host, port, open-registration behavior, and `db_uri`, with PostgreSQL 14+ and SQLite 3+ documented as supported storage backends.

The server is used by configuring clients with a `sync_address`, then registering, logging in, and running `atuin sync`. The sync guide emphasizes that the history is end-to-end encrypted before it reaches the server, so the server package is infrastructure for storage and synchronization rather than a plaintext command-history database.

### Why package nerds care

For package maintainers, `atuin-server` is a neat example of a Rust project that outgrew a single CLI binary and exposed a second artifact with different runtime expectations: service management, database configuration, network binding, reverse-proxy TLS, and persistent storage. That makes it a distinct package even though it shares the upstream repository and release train with Atuin.

The package also shows why formula splits matter. Installing the server on a workstation is unnecessary for most Atuin users, while bundling it into only the main CLI would make self-hosting less obvious for operators. Separate packaging lets Homebrew, Alpine, and Arch users install just the role they need.

### Timeline

- 2020: The Atuin repository was created on GitHub.
- 2021: Early GitHub releases in the 0.6 series were published.
- 2022: Atuin moved through v0.10 and then jumped to v11.
- 2024: The 18.x release line began.
- 2026: v18.16.x releases shipped separate `atuin` and `atuin-server` artifacts.

### Related projects

- Atuin client: the interactive shell-history CLI that records, searches, imports, and syncs history.
- PostgreSQL and SQLite: supported backing stores for self-hosted sync servers.
- Shell history systems in zsh, bash, fish, nushell, xonsh, and PowerShell: the native history layers Atuin augments or replaces.

### Sources

- <https://api.github.com/repos/atuinsh/atuin>
- <https://api.github.com/repos/atuinsh/atuin/releases>
- <https://docs.atuin.sh/cli/guide/sync/>
- <https://docs.atuin.sh/cli/self-hosting/server-setup/>
- <https://github.com/atuinsh/atuin#readme>


## Security Notes

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

- **Geiger risk:** orange / medium
- 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: ~/.config/atuin/server.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** atuin-server
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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
- pacman - atuin-server - 18.16.1-1: normalized package name match | Arch Linux sync databases: atuin-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Magical shell history - sync server | https://github.com/atuinsh/atuin


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [protobuf](https://www.automicvault.com/pkg/brew/protobuf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [atuin](https://www.automicvault.com/pkg/brew/atuin/) - Shares the same upstream source repository.
- [mcfly](https://www.automicvault.com/pkg/brew/mcfly/) - Shares av.db curated category or tags: cli, developer-tools, history, shell.
- [airtable-mcp-server](https://www.automicvault.com/pkg/brew/airtable-mcp-server/) - Shares av.db curated category or tags: cli, developer-tools, server.
- [aliae](https://www.automicvault.com/pkg/brew/aliae/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [argc](https://www.automicvault.com/pkg/brew/argc/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [babelfish](https://www.automicvault.com/pkg/brew/babelfish/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [bar](https://www.automicvault.com/pkg/brew/bar/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [bash-language-server](https://www.automicvault.com/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [fizsh](https://www.automicvault.com/pkg/brew/fizsh/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, fish, history.

## Combined YAML source

View the package source record on GitHub. [combined/atuin-server.yml](https://github.com/automic-vault/db/blob/main/combined/atuin-server.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
