🍺 BREW Explorer

← all formulae

hf

brew install hf v1.20.1 Apache-2.0

Python client library and CLI for the Hugging Face model hub, with support for downloading and uploading datasets and models.

Why you might care

Essential if you work with Hugging Face models, datasets, or spaces—provides a unified CLI and Python API for authentication, versioning, and hub operations. Handles large file transfers via Git LFS and integrates directly with transformers and datasets libraries. Single install covers both command-line workflows and programmatic access.

Categories

Alternatives

transformers datasets git-lfs
11.5k
30-day installs · #330
32.0k
90-day · #377
35.2k
365-day · #816

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "transformers",
    "datasets",
    "git-lfs"
  ],
  "build_dependencies": [
    "pkgconf",
    "rust"
  ],
  "categories": [
    "library",
    "sdk",
    "binding",
    "http-client"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "certifi",
    "git-lfs",
    "libyaml",
    "python@3.14"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Client library for huggingface.co hub",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:38+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "hf",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://huggingface.co/docs/huggingface_hub/guides/cli",
  "homepage_og_description": "We\u2019re on a journey to advance and democratize artificial intelligence through open source and open science.",
  "homepage_og_image": "https://cdn-thumbnails.huggingface.co/social-thumbnails/docs/huggingface_hub/guides/cli.png",
  "homepage_title": "Command Line Interface (CLI) \u00b7 Hugging Face",
  "installs_30d": 11535,
  "installs_365d": 35231,
  "installs_90d": 31985,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:44:11+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "hf",
  "oldnames": [
    "huggingface-cli"
  ],
  "one_liner": "Python client library and CLI for the Hugging Face model hub, with support for downloading and uploading datasets and models.",
  "optional_dependencies": [],
  "rank_30d": 330,
  "rank_365d": 816,
  "rank_90d": 377,
  "raw_hash": "2cbec046515ac5cf",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/hf.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.20.1",
  "versioned_formulae": [],
  "why_use_this": "Essential if you work with Hugging Face models, datasets, or spaces\u2014provides a unified CLI and Python API for authentication, versioning, and hub operations. Handles large file transfers via Git LFS and integrates directly with transformers and datasets libraries. Single install covers both command-line workflows and programmatic access."
}