# Install hunspell with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget

Spell checker and morphological analyzer. Version 1.7.3 via Homebrew; verified 2026-05-08. Also installable with debian: sudo apt install hunspell.

## Install

```sh
sudo av install brew:hunspell
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hunspell
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hunspell
```

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

### Linux

- apk (92%):

```sh
sudo apk add hunspell
```

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

- Debian apt (92%):

```sh
sudo apt install hunspell
```

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

- dnf (92%):

```sh
sudo dnf install hunspell
```

  Evidence: Fedora Rawhide package metadata: hunspell 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#hunspell
```

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

- pacman (92%):

```sh
sudo pacman -S hunspell
```

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

- zypper (92%):

```sh
sudo zypper install hunspell
```

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

### Windows

- winget (92%):

```sh
winget install --id FSFhu.Hunspell -e
```

  Evidence: Windows Package Manager source index: FSFhu.Hunspell from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:hunspell
- **Package manager:** Homebrew
- **Version:** 1.7.3
- **Source summary:** Spell checker and morphological analyzer
- **Homepage:** <https://hunspell.github.io>
- **Repository:** <https://github.com/hunspell/hunspell>
- **Last updated:** 2026-05-08T19:07:41Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- affixcompress (alias)
- analyze (alias)
- chmorph (alias)
- hunspell (alias)
- hunzip (alias)
- hzip (alias)
- ispellaff2myspell (alias)
- makealias (alias)
- munch (alias)
- unmunch (alias)
- wordforms (alias)
- wordlist2hunspell (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.7.3
## Project history and usage

Hunspell is a spell checker, morphological analyzer, library, and command-line tool. Its official materials describe support for Unicode, compounding, complex morphology, stemming, morphological generation, custom dictionaries, an Ispell-like terminal interface, pipe mode, and C/C++ APIs.

### Project history

Hunspell's code base descends from OpenOffice.org's MySpell library by Kevin Hendricks, which the Hunspell README describes as a C++ reimplementation of Geoff Kuenning's International Ispell spell checking and affixation work. László Németh developed Hunspell's main library and command-line features, extending the MySpell lineage with richer morphology, compounding, affix handling, suggestion logic, and language-specific behavior.

The official site records project sponsorship history, including Budapest Technical University Media Research Centre support in 2003-2005 and FSF.hu Foundation sponsorship, and the AUTHORS file names László Németh as author, Kevin Hendricks as MySpell author, and Caolán McNamara as maintainer and distinguished contributor.

### Adoption history

Hunspell became infrastructure rather than just a standalone command. The official site says it is used by LibreOffice, OpenOffice.org, Mozilla Firefox and Thunderbird, Google Chrome, macOS, InDesign, memoQ, Opera, SDL Trados, Linux distributions, and other tools. The batch metadata also shows broad package-manager coverage across Homebrew, Debian, Ubuntu, Fedora, Arch, openSUSE, MacPorts, Nix, Alpine, winget, and related ecosystems.

### How it is used

Command-line users run `hunspell` interactively, in pipe mode, or against files with dictionaries made of `.aff` and `.dic` files. Developers use libhunspell through C/C++ APIs and language bindings, while dictionary maintainers use companion tools such as affixcompress, unmunch, wordforms, wordlist2hunspell, analyze, and related utilities.

### Why package nerds care

For package nerds, Hunspell is a deep dependency hiding in plain sight: a spell-checking engine packaged as both CLI and library, with dictionaries often shipped separately and consumed by office suites, browsers, editors, NLP tools, and operating systems. It is also a reminder that language support packages often matter as much as the executable package itself.

### Timeline

- 2003-2005: Official site records BME MOKK sponsorship of Hunspell development.
- 2015: hunspell/hunspell GitHub repository created.
- 2016: v1.4.0 release published in GitHub Releases metadata.
- 2018: v1.7.0 release published with suggestion, SPELLML, morphology, and compounding improvements.
- 2026: v1.7.3 release notes record security, fuzzing, Unicode, build, and correctness fixes.

### Related projects

- Related projects include MySpell, International Ispell, OpenOffice.org, LibreOffice, Firefox, Thunderbird, Chrome, macOS spelling services, Enchant, Weblate translations, and Hunspell/MySpell dictionary repositories.

### Sources

- Official Hunspell site, repository README, AUTHORS, NEWS, GitHub repository and release metadata, and Homebrew package metadata supplied in the batch input.


## Security Notes

No matching local secret-handling manifest was found for hunspell. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Debian apt - hunspell - 1.7.2+really1.7.2-10+b4: normalized package name match | Debian stable package indexes: hunspell from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell checker and morphological analyzer (program) | https://hunspell.github.io/
- Debian apt - hunspell-tools - 1.7.2+really1.7.2-10+b4: normalized package name match | Debian stable package indexes: hunspell-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tools for hunspell | https://hunspell.github.io/
- Debian apt - libhunspell-1.7-0 - 1.7.2+really1.7.2-10+b4: normalized package name match | Debian stable package indexes: libhunspell-1.7-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell checker and morphological analyzer (shared library) | https://hunspell.github.io/
- Debian apt - libhunspell-dev - 1.7.2+really1.7.2-10+b4: normalized package name match | Debian stable package indexes: libhunspell-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell checker and morphological analyzer (development) | https://hunspell.github.io/
- Debian apt - libhunspell-private-dev - 1.7.2+really1.7.2-10: normalized package name match | Debian stable package indexes: libhunspell-private-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell checker and morphological analyzer (private headers) | https://hunspell.github.io/
- Nix - hunspell: normalized package name match | nixpkgs package indexes: pkgs/by-name/hu/hunspell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hunspell - 1.7.2+really1.7.2-10build3: normalized package name match | Ubuntu 24.04 LTS package indexes: hunspell from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | spell checker and morphological analyzer (program) | https://hunspell.github.io/
- Ubuntu apt - hunspell-tools - 1.7.2+really1.7.2-10build3: normalized package name match | Ubuntu 24.04 LTS package indexes: hunspell-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | tools for hunspell | https://hunspell.github.io/
- Ubuntu apt - libhunspell-1.7-0 - 1.7.2+really1.7.2-10build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libhunspell-1.7-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | spell checker and morphological analyzer (shared library) | https://hunspell.github.io/
- Ubuntu apt - libhunspell-dev - 1.7.2+really1.7.2-10build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libhunspell-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | spell checker and morphological analyzer (development) | https://hunspell.github.io/
- Ubuntu apt - libhunspell-private-dev - 1.7.2+really1.7.2-10build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libhunspell-private-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | spell checker and morphological analyzer (private headers) | https://hunspell.github.io/
- apk - hunspell - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: hunspell from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Spell checker and morphological analyzer library and program | https://hunspell.github.io/
- apk - hunspell-dev - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: hunspell-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Spell checker and morphological analyzer library and program (development files) | https://hunspell.github.io/
- apk - hunspell-doc - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: hunspell-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Spell checker and morphological analyzer library and program (documentation) | https://hunspell.github.io/
- apk - hunspell-lang - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: hunspell-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Languages for package hunspell | https://hunspell.github.io/
- apk - libhunspell - 1.7.3-r0: normalized package name match | Alpine Linux edge package indexes: libhunspell from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Spell checker and morphological analyzer library and program (libraries) | https://hunspell.github.io/


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
