hf

Install command:
brew install hf

Formerly 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.4.0
head ⚡️ HEAD

Depends on:

certifi 2026.10.23 Mozilla CA bundle for Python
git-lfs 3.8.1 Git extension for versioning large files
libyaml 0.2.5 YAML Parser
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit
rust 1.100.0 Safe, concurrent, practical language

Binaries: hf, tiny-agents

GitHub Packages downloads:

Last 30 days51,607
Downloads434,944
Analytics install events (30 days)8,694
Downloads / install events (30 days)5.9×

Source: GitHub Packages, fetched 2026-11-16T00:52:48Z. Analytics dates: 2026-10-17 to 2026-11-16. 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 days90 days365 days
Installs8,68024,221101,452
Installs (--HEAD)1447165
Installs on Request8,68024,210101,426
Installs on Request (--HEAD)1447165
Build Errors11