hf
brew install hfFormerly known as: huggingface-cli
Client library for huggingface.co hub
https://huggingface.co/docs/huggingface_hub/guides/cli
License: Apache-2.0
Development: Pull requests
Formula JSON API: /api/formula/hf.json
Formula code: hf.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.6.0 |
| head | ⚡️ | HEAD |
Depends on:
| certifi | 2026.11.20 | Mozilla CA bundle for Python |
| git-lfs | 3.8.1 | Git extension for versioning large files |
| libyaml | 0.2.7 | YAML Parser |
| python@3.15 | 3.15.2 | Interpreted, interactive, object-oriented programming language |
Depends on when building from source:
| pkgconf | 3.0.11 | Package compiler and linker metadata toolkit |
| rust | 1.100.1 | Safe, concurrent, practical language |
Binaries:
hf,
tiny-agents
GitHub Packages downloads:
| Last 30 days | 46,569 |
|---|---|
| Downloads | 470,779 |
| Analytics install events (30 days) | 7,624 |
| Downloads / install events (30 days) | 6.1× |
Source: GitHub Packages, fetched 2026-12-06T00:55:21Z. Analytics dates: 2026-11-06 to 2026-12-06. 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 | 7,605 | 24,150 | 103,068 |
Installs (--HEAD) | 19 | 49 | 173 |
| Installs on Request | 7,606 | 24,140 | 103,042 |
Installs on Request (--HEAD) | 19 | 49 | 173 |
| Build Errors | 12 |