libidn2
brew install libidn2International domain name library (IDNA2008, Punycode and TR46)
https://www.gnu.org/software/libidn/#libidn2
License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND (Unicode-TOU AND Unicode-DFS-2016) AND GPL-3.0-or-later AND LGPL-2.1-or-later AND FSFAP-no-warranty-disclaimer
Development: Pull requests
Formula JSON API: /api/formula/libidn2.json
Formula code: libidn2.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| ventura | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| ventura | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.3.8 |
| head | ⚡️ | HEAD |
Depends on:
| libunistring | 1.5 | C string library for manipulating Unicode strings |
| gettext | 1.0 | GNU internationalization (i18n) and localization (l10n) library |
Depends on when building from source:
| pkgconf | 3.0.11 | Package compiler and linker metadata toolkit |
Binaries:
idn2
GitHub Packages downloads:
| Last 30 days | 511,732 |
|---|---|
| Downloads | 49,270,864 |
| Analytics install events (30 days) | 50,693 |
| Downloads / install events (30 days) | 10.1× |
Source: GitHub Packages, fetched 2026-11-18T00:57:31Z. Analytics dates: 2026-10-19 to 2026-11-18. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 50,690 | 116,696 | 629,635 |
Installs (--HEAD) | 3 | 5 | 21 |
| Installs on Request | 446 | 1,149 | 11,233 |
Installs on Request (--HEAD) | 0 | 1 | 10 |
| Build Errors | 2 |