Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub.…
Install: curl -LsSf https://hf.co/cli/install.sh | bash -s. The Hugging Face Hub CLI tool hf is available. IMPORTANT: The hf command replaces the deprecated huggingface-cli command. Use hf --help to view available functions. Note that auth commands are now all under hf auth e.g. hf auth whoami. Generated with huggingface_hub v1.23.0. Run hf skills add --force to regenerate. Commands hf cp SRC — Copy files between local paths, repositories, and buckets. [--format [auto|human|agent|json|quiet]] hf download REPO_ID — Download files from the Hub. [--type [model|dataset|space] --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --max-workers INTEGER --format [auto|human|agent|json|quiet]] hf env — Print information about the environment. [--format [auto|human|agent|json|quiet]] hf sync — Sync files between local directory and a bucket. [--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --format [auto|human|agent|json|quiet]] hf update — Update the hf CLI to the latest version. [--format [auto|human|agent|json|quiet]] hf upload REPO_ID — Upload a file or a folder to the Hub. Recommended for single-commit uploads. [--type [model|dataset|space] --revision TEXT --private --include TEXT --exclude TEXT --delete TEXT --commit-message TEXT --commit-description TEXT --create-pr --every FLOAT --format [auto|human|agent|json|quiet]] hf upload-large-folder REPO_ID LOCAL_PATH — [Deprecated] Upload a large folder to the Hub. Use hf upload instead. [--type [model|dataset|space] --revision TEXT --private --include TEXT --exclude TEXT --num-workers INTEGER --no-report --no-bars --format [auto|human|agent|json|quiet]] hf version — Print information about the hf version. [--format [auto|human|agent|json|quiet]]
don't have the plugin yet? install it then click "run inline in claude" again.