What it does. Install:
curl -LsSf https://hf.co/cli/install.sh | bash -s
.
The Hugging Face Hub CLI tool
hf
is available. IMPORTANT: The
hf
command replaces the deprecated
huggingface-cli
command.
Highlights
hf cp SRC
— Copy files between local paths, repositories, and buckets. [--format [auto|human|agent|json|quiet]]
hf env
— Print information about the environment. [--format [auto|human|agent|json|quiet]]
hf update
— Update the hf
CLI to the latest version. [--format [auto|human|agent|json|quiet]]
hf version
— Print information about the hf version. [--format [auto|human|agent|json|quiet]]
hf auth list
— List all stored access tokens. [--format [auto|human|agent|json|quiet]]
When to use it. 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…
Install
npx skills add huggingface/skills --skill hf-cli
Or copy the skill folder manually:
git clone https://github.com/huggingface/skills.git
cp -r skills/skills/hf-cli/ ~/.claude/skills/hf-cli
Source: huggingface/skills — 11,005 stars, Apache-2.0, last pushed 2026-09-01.