#hugging-face#hf-cli#models#datasets#spaces

Hugging Face CLI

Independent PiSkill directory guide. The original skill remains hosted by Hugging Face Skills.

What is Hugging Face CLI?

Helps agents use the Hugging Face Hub CLI for authentication, model and dataset transfers, repositories, Spaces, jobs, buckets, papers, webhooks, and other Hub operations.

What does Hugging Face CLI do?

Hugging Face CLI is a skill for using the current `hf` command to manage models, datasets, Spaces, repositories, cache, buckets, jobs, Inference Endpoints, papers, collections and authentication on the Hugging Face Hub. It replaces the older `huggingface-cli` workflow with a much broader command surface.

Who is Hugging Face CLI best for?

  • Developers managing Hugging Face resources from the terminal
  • ML teams downloading or publishing models and datasets
  • Users running jobs or managing Inference Endpoints
  • Teams working with Hub repositories, storage or cache

Common use cases

  • Log in and switch Hugging Face tokens
  • Download or upload model and dataset files
  • Run or schedule Hugging Face Jobs
  • Deploy, inspect or scale Inference Endpoints

How does Hugging Face CLI work?

The skill uses `hf --help` and the relevant command group for the task, then applies the required repository, authentication, storage or compute options. It covers both local-Hub interactions such as downloads and cache management and remote operations such as jobs, buckets and endpoints.

Key benefits

  • One CLI for a large part of the Hugging Face ecosystem
  • Supports both repository and cloud operations
  • Includes authentication and local-cache management
  • Replaces the deprecated `huggingface-cli` command

Things to know

  • Commands and supported options can change as the CLI evolves
  • Destructive operations such as repo deletion need explicit care
  • Private or gated resources require the correct Hugging Face token

Compatible tools

Claude CodeOpenAI CodexGemini CLICursor

Frequently asked questions

What is the current Hugging Face CLI command?
The current command is `hf`; the skill explicitly notes that it replaces the deprecated `huggingface-cli` command.
What can `hf` manage?
It can manage authentication, models, datasets, Spaces, repositories, buckets, cache, jobs, endpoints, papers, collections and other Hub resources.
← Back to Skills Directory