Hugging Face Unveils New CLI `hf`
Key point
Hugging Face has released a new CLI called `hf` with a redesigned command structure, along with `hf jobs`, a serverless job execution service.
Details
The Hugging Face CLI has been officially renamed from the existing huggingface-cli to hf. This overhaul aims to make the command structure more intuitive and consistent.
The new CLI adopts the hf <resource> <action> pattern, making the command structure clearer.
hf auth: Manage authentication (login, logout, etc.)hf repo: Manage repositorieshf upload/hf download: Upload/download files and foldershf cache: Manage the local cache
The existing huggingface-cli will be kept for backward compatibility, and using the old commands will display a warning to use the new hf command instead.
Additionally, a new service called hf jobs has been introduced. This is a pay-as-you-go service that lets users select the hardware specifications they want and run scripts or Docker images on Hugging Face's infrastructure.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.