hugging-face-cli - Manage Hugging Face Hub resources with hf
Use the Hugging Face Hub CLI to authenticate and manage models, datasets, spaces, buckets, repositories, cache, discussions, and jobs.
Tags
Updated: 2026-11-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Authenticate with Hugging Face
- Download Hub files
- Upload files and folders
- Manage Hub repositories
- Manage buckets
- Manage local cache
- Query dataset parquet files
- Run dataset SQL queries
- Manage collections
- Manage discussions and pull requests
- Inspect CLI environment
- Update the hf CLI
Inputs
- Hugging Face repository IDs
- Local file paths
- Local directory paths
- Access tokens
- Bucket IDs
- Collection identifiers
- Discussion numbers
- Dataset SQL queries
- Command options
Outputs
- Downloaded files
- Uploaded files
- Repository changes
- Bucket changes
- Cache changes
- Authentication state changes
- Collection changes
- Discussion and pull request changes
- CLI status information
- Command output
Requirements
- Installed hf CLI
- Hugging Face Hub access
- Authentication for protected operations
- Network access to the Hugging Face Hub
