# Install sonic with Homebrew, apt, dnf, MacPorts, Nix, pacman

Fast, lightweight & schema-less search backend. Version 1.7.3 via Homebrew; verified 2026-07-07.

## Install

```sh
sudo av install brew:sonic
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sonic
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sonic
```

  Evidence: MacPorts ports tree: audio/sonic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libsonic-dev
```

  Evidence: Debian stable package indexes: libsonic-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libsonic
```

  Evidence: Fedora Rawhide package metadata: libsonic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sonic
```

  Evidence: nixpkgs package indexes: pkgs/by-name/so/sonic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sonic
```

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

## Package facts

- **Package key:** brew:sonic
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sonic>
- **Version:** 1.7.3
- **Source summary:** Fast, lightweight & schema-less search backend
- **Homepage:** <https://github.com/valeriansaliou/sonic>
- **Repository:** <https://github.com/valeriansaliou/sonic>
- **Upstream docs:** <https://github.com/valeriansaliou/sonic#readme>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/valeriansaliou/sonic/archive/refs/tags/v1.7.3.tar.gz>
- **Last updated:** 2026-07-07T20:34:45Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sonic (cli)
- sonic (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.7.3
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/valeriansaliou/sonic
- Upstream latest detected: v1.7.3 (current)
## Project history and usage

Sonic is a Rust search backend packaged as a small server and CLI-oriented service rather than a large search platform. Its README frames it as a lightweight, schema-less alternative to heavier systems such as Elasticsearch for identifier-based search, autocomplete, typo correction, and low-resource indexing.

### Project history

Sonic was created by Valerian Saliou and the official repository says the project was initially announced on the author's journal. GitHub repository metadata records the public repository as created in February 2019, matching the README's early emphasis on using Sonic at Crisp for production search workloads.

The design centers on the Sonic Channel protocol rather than an HTTP API. That made Sonic feel more like Redis-style infrastructure to package and run: a daemon, a TOML-like configuration file, a TCP port, and client libraries for applications that need to push identifiers into an index and query them later.

### Adoption history

The official README lists Crisp and Scrumpy as users and describes Crisp using Sonic for search across messages, conversations, contacts, and helpdesk articles. It also documents official packages for Debian-based systems, Cargo installation, Docker images, and non-official Homebrew packaging.

The package-manager metadata in this batch shows Sonic available beyond Homebrew, including Debian, Ubuntu, Fedora, Arch, MacPorts, and Nix. That spread is notable because Sonic is a niche search daemon, not a general-purpose library.

### How it is used

Operators run Sonic with a configuration file, commonly the sample `config.cfg` or a path supplied with `-c` or `--config`. Applications interact with it through Sonic Channel to push, pop, flush, query, and suggest identifiers.

Sonic is commonly attractive for small and medium products that want fast full-text-ish lookup without operating a larger search stack. It stores search terms and identifiers, leaving document storage and enrichment to the caller's database.

### Why package nerds care

For package-manager users, Sonic is interesting because it turns a search backend into one installable daemon with modest runtime expectations. It is the kind of package that appeals to people who like replacing a large service dependency with a single binary plus a small config file.

Its continued releases through 2026, including split core/client/server release artifacts, also show a Rust infrastructure tool maturing while still keeping a Unix-friendly operational shape.

### Timeline

- 2019: Public GitHub repository created and Sonic documented as running in Crisp search products.
- 2024: Sonic v1.4.9 released on GitHub.
- 2026: Sonic v1.7.0 released on GitHub.

### Related projects

- Elasticsearch is the heavier search backend explicitly used as Sonic's comparison point.
- Redis is a useful operational comparison because the README describes Sonic Channel as the only interaction protocol and emphasizes simplicity.
- Sonic Channel client libraries connect Sonic to Node.js, PHP, Rust, Python, Ruby, Go, Java, Elixir, and other ecosystems.

### Sources

- <https://api.github.com/repos/valeriansaliou/sonic>
- <https://api.github.com/repos/valeriansaliou/sonic/releases>
- <https://github.com/valeriansaliou/sonic>
- <https://github.com/valeriansaliou/sonic/blob/master/CONFIGURATION.md>
- input.json source_facts.package-manager


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## 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.cfg
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libsonic-dev - 0.2.0-13+b1: normalized package name match | Debian stable package indexes: libsonic-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header file for linking to libsonic | https://github.com/waywardgeek/sonic
- Debian apt - libsonic-java - 0.2.0-13: normalized package name match | Debian stable package indexes: libsonic-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple library to speed up or slow down speech - Java bindings | https://github.com/waywardgeek/sonic
- Debian apt - libsonic0 - 0.2.0-13+b1: normalized package name match | Debian stable package indexes: libsonic0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple library to speed up or slow down speech | https://github.com/waywardgeek/sonic
- Debian apt - sonic - 0.2.0-13+b1: normalized package name match | Debian stable package indexes: sonic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple utility to speed up or slow down speech | https://github.com/waywardgeek/sonic
- Nix - sonic: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/sonic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsonic-dev - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsonic-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Header file for linking to libsonic | https://github.com/waywardgeek/sonic
- Ubuntu apt - libsonic-java - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsonic-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple library to speed up or slow down speech - Java bindings | https://github.com/waywardgeek/sonic
- Ubuntu apt - libsonic0 - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsonic0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Simple library to speed up or slow down speech | https://github.com/waywardgeek/sonic
- Ubuntu apt - sonic - 0.2.0-13build1: normalized package name match | Ubuntu 24.04 LTS package indexes: sonic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple utility to speed up or slow down speech | https://github.com/waywardgeek/sonic
- dnf - libsonic - 0.2.0^20210316gitba33141-1.fc45: normalized package name match | Fedora Rawhide package metadata: libsonic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library package | https://github.com/waywardgeek/sonic
- dnf - libsonic-devel - 0.2.0^20210316gitba33141-1.fc45: normalized package name match | Fedora Rawhide package metadata: libsonic-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for sonic | https://github.com/waywardgeek/sonic
- dnf - sonic - 0.2.0^20210316gitba33141-1.fc45: normalized package name match | Fedora Rawhide package metadata: sonic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library to speed up or slow down speech | https://github.com/waywardgeek/sonic
- pacman - sonic - 1.6.0-1: normalized package name match | Arch Linux sync databases: sonic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast, lightweight & schema-less search backend | https://github.com/valeriansaliou/sonic
- MacPorts - sonic: normalized package name match | MacPorts ports tree: audio/sonic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [solr](https://www.automicvault.com/pkg/brew/solr/) - Shares av.db curated category or tags: cli, data, indexing, search, server.
- [groonga](https://www.automicvault.com/pkg/brew/groonga/) - Shares av.db curated category or tags: cli, data, full-text-search, indexing, search.
- [hyperestraier](https://www.automicvault.com/pkg/brew/hyperestraier/) - Shares av.db curated category or tags: cli, data, full-text-search, indexing, search.
- [manticoresearch](https://www.automicvault.com/pkg/brew/manticoresearch/) - Shares av.db curated category or tags: cli, data, full-text-search, indexing, search.
- [meilisearch](https://www.automicvault.com/pkg/brew/meilisearch/) - Shares av.db curated category or tags: cli, data, full-text-search, search.
- [pgroonga](https://www.automicvault.com/pkg/brew/pgroonga/) - Shares av.db curated category or tags: cli, data, full-text-search, search.
- [carrot2](https://www.automicvault.com/pkg/brew/carrot2/) - Shares av.db curated category or tags: cli, data, search.
- [ngt](https://www.automicvault.com/pkg/brew/ngt/) - Shares av.db curated category or tags: cli, data, indexing, search.

## Combined YAML source

View the package source record on GitHub. [combined/sonic.yml](https://github.com/automic-vault/db/blob/main/combined/sonic.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
