# Install uni with Homebrew, apk, MacPorts, Nix

Unicode database query tool for the command-line. Version 2.9.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:uni
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install uni
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install uni
```

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

### Linux

- apk (92%):

```sh
sudo apk add uni
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#uni
```

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

## Package facts

- **Package key:** brew:uni
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/uni>
- **Version:** 2.9.0
- **Source summary:** Unicode database query tool for the command-line
- **Homepage:** <https://github.com/arp242/uni>
- **Repository:** <https://github.com/arp242/uni>
- **Upstream docs:** <https://github.com/arp242/uni#readme>
- **License:** MIT
- **Source archive:** <https://github.com/arp242/uni/archive/refs/tags/v2.9.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- uni (cli)
- uni (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.9.0
- Local data: ok
- Upstream repository: https://github.com/arp242/uni
- Upstream latest detected: v2.9.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

uni is a Go command-line tool for querying the Unicode database. Its README describes commands for identifying codepoints in text, searching codepoints, printing ranges or classes, and finding emoji.

### Project history

The GitHub repository was created in December 2018. The project sits in a Unix tradition of small text-inspection tools, but updates that niche for modern Unicode and emoji workflows.

The README says uni supports Unicode 15.1 and includes good emoji support. It also documents JSON output, browser/WASM availability, and integrations with dmenu, rofi, fzf, and Vim, showing that the tool evolved beyond a simple codepoint lookup command into a terminal-centered Unicode utility.

### Adoption history

The README points users to release binaries, packages for multiple platforms, and `go install zgo.at/uni/v2@latest` from source. The supplied package facts show availability in Homebrew, Alpine, MacPorts, and Nix.

Repository metadata shows hundreds of GitHub stars and a sequence of releases, including v2.9.0 in December 2025. For a Unicode lookup CLI, that suggests durable use among developers who frequently inspect unfamiliar characters, terminal width, escapes, and emoji names.

### How it is used

Common usage is interactive and pipeline-friendly: identify characters from arguments or stdin, search by name, print specific codepoints and ranges, and format output fields such as Unicode version, name, UTF-8 bytes, HTML entity, X11 keysym, JSON escape, or display width.

The README's integrations make uni useful as a picker as well as an inspector: scripts can wire it into dmenu, rofi, fzf, or Vim so users can search for and insert symbols without leaving keyboard-driven workflows.

### Why package nerds care

uni is package-interesting because it packages Unicode data into a fast single-purpose CLI. It is the kind of tool that rarely appears in application dependency graphs but frequently lives in a developer's personal shell setup.

Compared with older conversion tools, uni is focused on discovery and metadata rather than transcoding. That makes it complementary to tools such as uni2ascii, iconv, and GUI character maps.

### Timeline

- 2018: GitHub repository created.
- 2023: README documents support for Unicode 15.1.
- 2025: GitHub page lists v2.9.0 as a December 2025 release.
- 2026: Repository metadata shows continued availability and package interest.

### Related projects

- The README compares uni with CLI alternatives such as unicode.vim, unicode, uc, and chr, and GUI tools such as gnome-characters, gucharmap, KCharSelect, rofi-emoji, and rofimoji.
- The README links dmenu, rofi, fzf, and Vim integrations for picker-style workflows.

### Sources

- <https://api.github.com/repos/arp242/uni>
- <https://github.com/arp242/uni#readme>
- <https://raw.githubusercontent.com/arp242/uni/master/README.md>
- input.source_facts.package-manager


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** uni
- **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

- Nix - uni: normalized package name match | nixpkgs package indexes: pkgs/by-name/un/uni/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - uni - 2.9.0-r5: normalized package name match | Alpine Linux edge package indexes: uni from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Query the Unicode database from the commandline | https://github.com/arp242/uni
- apk - uni-doc - 2.9.0-r5: normalized package name match | Alpine Linux edge package indexes: uni-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Query the Unicode database from the commandline (documentation) | https://github.com/arp242/uni
- MacPorts - uni: normalized package name match | MacPorts ports tree: textproc/uni/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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cconv](https://www.automicvault.com/pkg/brew/cconv/) - Shares av.db curated category or tags: cli, developer-tools, text-processing, unicode.
- [libunicode](https://www.automicvault.com/pkg/brew/libunicode/) - Shares av.db curated category or tags: cli, developer-tools, text-processing, unicode.
- [sttr](https://www.automicvault.com/pkg/brew/sttr/) - Shares av.db curated category or tags: cli, developer-tools, go, text-processing.
- [unac](https://www.automicvault.com/pkg/brew/unac/) - Shares av.db curated category or tags: cli, developer-tools, text-processing, unicode.
- [uni2ascii](https://www.automicvault.com/pkg/brew/uni2ascii/) - Shares av.db curated category or tags: cli, developer-tools, text-processing, unicode.
- [xurls](https://www.automicvault.com/pkg/brew/xurls/) - Shares av.db curated category or tags: cli, developer-tools, go, text-processing.
- [align](https://www.automicvault.com/pkg/brew/align/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [bsdconv](https://www.automicvault.com/pkg/brew/bsdconv/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [chars](https://www.automicvault.com/pkg/brew/chars/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
