hugging-face-cli

Installation
SKILL.md

When to Use

Use this skill when you need hugging Face Hub CLI (hf) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging...

Install by downloading the installer script first, reviewing it, and then running it locally: tmpdir="$(mktemp -d)" && curl -LsSf https://hf.co/cli/install.sh -o "$tmpdir/hf-install.sh" && less "$tmpdir/hf-install.sh"

Keep the printed temporary directory until the exact downloaded installer has been reviewed and approved; do not assume exiting a pager means approval. Run it in the same shell, then remove only that temporary directory.

bash "$tmpdir/hf-install.sh"

Check whether the Hugging Face Hub CLI tool hf is installed; this documentation does not supply it. IMPORTANT: The hf command replaces the deprecated huggingface-cli command.

Use hf --help to view available functions. Note that auth commands are now all under hf auth e.g. hf auth whoami.

Generated with huggingface_hub v1.21.0. Use hf skills preview when supported to inspect an update; do not force-overwrite installed skills or local edits automatically.

Operation boundaries

Installs
93
GitHub Stars
48.7K
First Seen
Jan 30, 2026