hugging-face-cli - Manage Hugging Face Hub resources with hf
Use the Hugging Face Hub CLI to download, upload, and manage models, datasets, spaces, buckets, repositories, papers, and jobs.
Tags
Updated: 2026-11-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Authenticate with Hugging Face
- Download Hub files
- Upload files and folders
- Manage local cache
- Manage Hub buckets
- Sync local directories
- Manage collections
- Manage datasets
- Manage discussions and pull requests
- Run dataset SQL queries
- Inspect CLI environment
- Update the CLI
Inputs
- Hugging Face access tokens
- Repository identifiers
- Dataset identifiers
- Bucket identifiers
- Collection identifiers
- Local file paths
- Local directory paths
- CLI command options
Outputs
- Command output messages
- Downloaded files
- Uploaded Hub files
- Modified local cache
- Modified Hub resources
- Synchronization changes
- Authentication state changes
- Collection changes
- Dataset query results
- Discussion and pull request changes
Requirements
- hf CLI installation
- Hugging Face Hub access
- Network connectivity
- Hugging Face authentication for protected operations
