hf-cli - Manage Hugging Face Hub resources with hf
Use the hf CLI to authenticate, transfer files, manage Hub resources, query datasets, handle discussions, and deploy Inference Endpoints.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Authenticate with Hugging Face
- Download Hub files
- Upload files and folders
- Manage buckets and cache
- Manage collections
- Query datasets
- Manage discussions and pull requests
- Manage Inference Endpoints
- Inspect CLI environment
- Update the hf CLI
Inputs
- Repository identifiers
- Local files and directories
- Access tokens
- Bucket identifiers
- Dataset identifiers
- Collection identifiers
- Discussion numbers
- SQL queries
- Endpoint configuration
Outputs
- Command output
- Downloaded files
- Uploaded Hub revisions
- Bucket contents
- Cache changes
- Collection changes
- Discussion or pull request changes
- Dataset query results
- Inference Endpoint state changes
Requirements
- Installed hf CLI
- Hugging Face access token for authenticated operations
