hf-cli by huggingface/skills
npx skills add https://github.com/huggingface/skills --skill hf-cli安装:curl -LsSf https://hf.co/cli/install.sh | bash -s.
Hugging Face Hub CLI 工具 hf 已可用。重要提示:hf 命令已取代已弃用的 huggingface-cli 命令。
使用 hf --help 查看可用功能。请注意,身份验证命令现在都位于 hf auth 下,例如 hf auth whoami。
由 huggingface_hub v1.7.2 生成。运行 hf skills add --force 以重新生成。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
hf download REPO_ID — 从 Hub 下载文件。[--type CHOICE --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --quiet --max-workers INTEGER]hf env — 打印环境信息。hf sync — 在本地目录和存储桶之间同步文件。[--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --quiet]hf upload REPO_ID — 将文件或文件夹上传到 Hub。推荐用于单次提交上传。[--type CHOICE --revision TEXT --private --include TEXT --exclude TEXT --delete TEXT --commit-message TEXT --commit-description TEXT --create-pr --every FLOAT --quiet]hf upload-large-folder REPO_ID LOCAL_PATH — 将大型文件夹上传到 Hub。推荐用于可恢复的上传。[--type CHOICE --revision TEXT --private --include TEXT --exclude TEXT --num-workers INTEGER --no-report --no-bars]hf version — 打印 hf 版本信息。hf auth — 管理身份验证(登录、登出等)。hf auth list — 列出所有存储的访问令牌。hf auth login — 使用来自 huggingface.co/settings/tokens 的令牌登录。[--add-to-git-credential --force]hf auth logout — 登出特定令牌。[--token-name TEXT]hf auth switch — 在访问令牌之间切换。[--token-name TEXT --add-to-git-credential]hf auth whoami — 查看您当前登录的是哪个 huggingface.co 账户。[--format CHOICE]hf buckets — 与存储桶交互的命令。hf buckets cp SRC — 复制单个文件到存储桶或从存储桶复制。[--quiet]hf buckets create BUCKET_ID — 创建新存储桶。[--private --exist-ok --quiet]hf buckets delete BUCKET_ID — 删除存储桶。[--yes --missing-ok --quiet]hf buckets info BUCKET_ID — 获取存储桶信息。[--quiet]hf buckets list — 列出存储桶或存储桶中的文件。[--human-readable --tree --recursive --format CHOICE --quiet]hf buckets move FROM_ID TO_ID — 将存储桶移动(重命名)到新名称或命名空间。hf buckets remove ARGUMENT — 从存储桶中删除文件。[--recursive --yes --dry-run --include TEXT --exclude TEXT --quiet]hf buckets sync — 在本地目录和存储桶之间同步文件。[--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --quiet]hf cache — 管理本地缓存目录。hf cache list — 列出缓存的仓库或修订版本。[--cache-dir TEXT --revisions --filter TEXT --format CHOICE --quiet --sort CHOICE --limit INTEGER]hf cache prune — 从缓存中移除分离的修订版本。[--cache-dir TEXT --yes --dry-run]hf cache rm TARGETS — 移除缓存的仓库或修订版本。[--cache-dir TEXT --yes --dry-run]hf cache verify REPO_ID — 验证缓存或本地目录中单个仓库修订版本的校验和。[--type CHOICE --revision TEXT --cache-dir TEXT --local-dir TEXT --fail-on-missing-files --fail-on-extra-files]hf collections — 与 Hub 上的收藏集交互。hf collections add-item COLLECTION_SLUG ITEM_ID ITEM_TYPE — 向收藏集添加项目。[--note TEXT --exists-ok]hf collections create TITLE — 在 Hub 上创建新收藏集。[--namespace TEXT --description TEXT --private --exists-ok]hf collections delete COLLECTION_SLUG — 从 Hub 删除收藏集。[--missing-ok]hf collections delete-item COLLECTION_SLUG ITEM_OBJECT_ID — 从收藏集中删除项目。[--missing-ok]hf collections info COLLECTION_SLUG — 获取 Hub 上收藏集的信息。输出为 JSON 格式。hf collections list — 列出 Hub 上的收藏集。[--owner TEXT --item TEXT --sort CHOICE --limit INTEGER --format CHOICE --quiet]hf collections update COLLECTION_SLUG — 更新 Hub 上收藏集的元数据。[--title TEXT --description TEXT --position INTEGER --private --theme TEXT]hf collections update-item COLLECTION_SLUG ITEM_OBJECT_ID — 更新收藏集中的项目。[--note TEXT --position INTEGER]hf datasets — 与 Hub 上的数据集交互。hf datasets info DATASET_ID — 获取 Hub 上数据集的信息。输出为 JSON 格式。[--revision TEXT --expand TEXT]hf datasets list — 列出 Hub 上的数据集。[--search TEXT --author TEXT --filter TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]hf datasets parquet DATASET_ID — 列出数据集可用的 Parquet 文件 URL。[--subset TEXT --split TEXT --format CHOICE --quiet]hf datasets sql SQL — 使用 DuckDB 对数据集 Parquet URL 执行原始 SQL 查询。[--format CHOICE]hf discussions — 管理 Hub 上的讨论和拉取请求。hf discussions close REPO_ID NUM — 关闭讨论或拉取请求。[--comment TEXT --yes --type CHOICE]hf discussions comment REPO_ID NUM — 评论讨论或拉取请求。[--body TEXT --body-file PATH --type CHOICE]hf discussions create REPO_ID --title TEXT — 在仓库上创建新讨论或拉取请求。[--body TEXT --body-file PATH --pull-request --type CHOICE]hf discussions diff REPO_ID NUM — 显示拉取请求的差异。[--type CHOICE]hf discussions info REPO_ID NUM — 获取讨论或拉取请求的信息。[--comments --diff --no-color --type CHOICE --format CHOICE]hf discussions list REPO_ID — 列出仓库上的讨论和拉取请求。[--status CHOICE --kind CHOICE --author TEXT --limit INTEGER --type CHOICE --format CHOICE --quiet]hf discussions merge REPO_ID NUM — 合并拉取请求。[--comment TEXT --yes --type CHOICE]hf discussions rename REPO_ID NUM NEW_TITLE — 重命名讨论或拉取请求。[--type CHOICE]hf discussions reopen REPO_ID NUM — 重新打开已关闭的讨论或拉取请求。[--comment TEXT --yes --type CHOICE]hf endpoints — 管理 Hugging Face 推理端点。hf endpoints catalog deploy --repo TEXT — 从模型目录部署推理端点。[--name TEXT --accelerator TEXT --namespace TEXT]hf endpoints catalog list — 列出可用的目录模型。hf endpoints delete NAME — 永久删除推理端点。[--namespace TEXT --yes]hf endpoints deploy NAME --repo TEXT --framework TEXT --accelerator TEXT --instance-size TEXT --instance-type TEXT --region TEXT --vendor TEXT — 从 Hub 仓库部署推理端点。[--namespace TEXT --task TEXT --min-replica INTEGER --max-replica INTEGER --scale-to-zero-timeout INTEGER --scaling-metric CHOICE --scaling-threshold FLOAT]hf endpoints describe NAME — 获取现有端点的信息。[--namespace TEXT]hf endpoints list — 列出给定命名空间的所有推理端点。[--namespace TEXT --format CHOICE --quiet]hf endpoints pause NAME — 暂停推理端点。[--namespace TEXT]hf endpoints resume NAME — 恢复推理端点。[--namespace TEXT --fail-if-already-running]hf endpoints scale-to-zero NAME — 将推理端点缩放到零。[--namespace TEXT]hf endpoints update NAME — 更新现有端点。[--namespace TEXT --repo TEXT --accelerator TEXT --instance-size TEXT --instance-type TEXT --framework TEXT --revision TEXT --task TEXT --min-replica INTEGER --max-replica INTEGER --scale-to-zero-timeout INTEGER --scaling-metric CHOICE --scaling-threshold FLOAT]hf extensions — 管理 hf CLI 扩展。hf extensions exec NAME — 执行已安装的扩展。hf extensions install REPO_ID — 从公共 GitHub 仓库安装扩展。[--force]hf extensions list — 列出已安装的扩展命令。[--format CHOICE --quiet]hf extensions remove NAME — 移除已安装的扩展。hf extensions search — 在 GitHub 上搜索可用的扩展(标记为 'hf-extension' 主题)。[--format CHOICE --quiet]hf jobs — 在 Hub 上运行和管理作业。hf jobs cancel JOB_ID — 取消作业 [--namespace TEXT]hf jobs hardware — 列出作业可用的硬件选项hf jobs inspect JOB_IDS — 显示一个或多个作业的详细信息 [--namespace TEXT]hf jobs logs JOB_ID — 获取作业的日志。[--follow --tail INTEGER --namespace TEXT]hf jobs ps — 列出作业。[--all --namespace TEXT --filter TEXT --format TEXT --quiet]hf jobs run IMAGE COMMAND — 运行作业。[--env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --flavor CHOICE --timeout TEXT --detach --namespace TEXT]hf jobs scheduled delete SCHEDULED_JOB_ID — 删除已调度的作业。[--namespace TEXT]hf jobs scheduled inspect SCHEDULED_JOB_IDS — 显示一个或多个已调度作业的详细信息 [--namespace TEXT]hf jobs scheduled ps — 列出已调度的作业 [--all --namespace TEXT --filter TEXT --format TEXT --quiet]hf jobs scheduled resume SCHEDULED_JOB_ID — 恢复(取消暂停)已调度的作业。[--namespace TEXT]hf jobs scheduled run SCHEDULE IMAGE COMMAND — 调度作业。[--suspend --concurrency --env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --flavor CHOICE --timeout TEXT --namespace TEXT]hf jobs scheduled suspend SCHEDULED_JOB_ID — 暂停已调度的作业。[--namespace TEXT]hf jobs scheduled uv run SCHEDULE SCRIPT — 在 HF 基础设施上运行 UV 脚本(本地文件或 URL)[--suspend --concurrency --image TEXT --flavor CHOICE --env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --timeout TEXT --namespace TEXT --with TEXT --python TEXT]hf jobs stats — 获取作业的资源使用统计信息和指标 [--namespace TEXT]hf jobs uv run SCRIPT — 在 HF 基础设施上运行 UV 脚本(本地文件或 URL)[--image TEXT --flavor CHOICE --env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --timeout TEXT --detach --namespace TEXT --with TEXT --python TEXT]hf models — 与 Hub 上的模型交互。hf models info MODEL_ID — 获取 Hub 上模型的信息。输出为 JSON 格式。[--revision TEXT --expand TEXT]hf models list — 列出 Hub 上的模型。[--search TEXT --author TEXT --filter TEXT --num-parameters TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]hf papers — 与 Hub 上的论文交互。hf papers list — 列出 Hub 上的每日论文。[--date TEXT --sort CHOICE --limit INTEGER --format CHOICE --quiet]hf repos — 管理 Hub 上的仓库。hf repos branch create REPO_ID BRANCH — 为 Hub 上的仓库创建新分支。[--revision TEXT --type CHOICE --exist-ok]hf repos branch delete REPO_ID BRANCH — 从 Hub 上的仓库删除分支。[--type CHOICE]hf repos create REPO_ID — 在 Hub 上创建新仓库。[--type CHOICE --space-sdk TEXT --private --exist-ok --resource-group-id TEXT]hf repos delete REPO_ID — 从 Hub 删除仓库。这是一个不可逆的操作。[--type CHOICE --missing-ok]hf repos delete-files REPO_ID PATTERNS — 从 Hub 上的仓库删除文件。[--type CHOICE --revision TEXT --commit-message TEXT --commit-description TEXT --create-pr]hf repos duplicate FROM_ID — 复制 Hub 上的仓库(模型、数据集或空间)。[--type CHOICE --private --exist-ok]hf repos move FROM_ID TO_ID — 将仓库从一个命名空间移动到另一个命名空间。[--type CHOICE]hf repos settings REPO_ID — 更新仓库的设置。[--gated CHOICE --private --type CHOICE]hf repos tag create REPO_ID TAG — 为仓库创建标签。[--message TEXT --revision TEXT --type CHOICE]hf repos tag delete REPO_ID TAG — 删除仓库的标签。[--yes --type CHOICE]hf repos tag list REPO_ID — 列出仓库的标签。[--type CHOICE]hf skills — 管理 AI 助手的技能。hf skills add — 下载技能并将其安装到 AI 助手中。[--claude --codex --cursor --opencode --global --dest PATH --force]hf skills preview — 将生成的 SKILL.md 打印到标准输出。hf spaces — 与 Hub 上的空间交互。hf spaces dev-mode SPACE_ID — 在空间上启用或禁用开发模式。[--stop]hf spaces hot-reload SPACE_ID — 热重载空间的任何 Python 文件,无需完全重建 + 重启。[--local-file TEXT --skip-checks --skip-summary]hf spaces info SPACE_ID — 获取 Hub 上空间的信息。输出为 JSON 格式。[--revision TEXT --expand TEXT]hf spaces list — 列出 Hub 上的空间。[--search TEXT --author TEXT --filter TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]hf webhooks — 管理 Hub 上的 Webhook。hf webhooks create --watch TEXT — 创建新 Webhook。[--url TEXT --job-id TEXT --domain CHOICE --secret TEXT]hf webhooks delete WEBHOOK_ID — 永久删除 Webhook。[--yes]hf webhooks disable WEBHOOK_ID — 禁用活动的 Webhook。hf webhooks enable WEBHOOK_ID — 启用已禁用的 Webhook。hf webhooks info WEBHOOK_ID — 以 JSON 格式显示单个 Webhook 的完整详细信息。hf webhooks list — 列出当前用户的所有 Webhook。[--format CHOICE --quiet]hf webhooks update WEBHOOK_ID — 更新现有 Webhook。仅更改提供的选项。[--url TEXT --watch TEXT --domain CHOICE --secret TEXT]--format — 输出格式:--format json(或 --json)或 --format table(默认)。-q / --quiet — 最小化输出。--revision — Git 修订版本 ID,可以是分支名称、标签或提交哈希。--token — 使用用户访问令牌。建议设置 HF_TOKEN 环境变量,而不是传递 --token。--type — 仓库类型(model、dataset 或 space)。hf <command> --help 查看完整选项、描述、用法和实际示例HF_TOKEN 环境变量(推荐)或 --token 进行身份验证每周安装数
164
仓库
GitHub 星标数
9.9K
首次出现
2026年3月6日
安全审计
已安装于
codex150
github-copilot149
opencode149
kimi-cli148
amp148
cursor148
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.7.2. Run hf skills add --force to regenerate.
hf download REPO_ID — Download files from the Hub. [--type CHOICE --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --quiet --max-workers INTEGER]hf env — Print information about the environment.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 --quiet]hf upload REPO_ID — Upload a file or a folder to the Hub. Recommended for single-commit uploads. [--type CHOICE --revision TEXT --private --include TEXT --exclude TEXT --delete TEXT --commit-message TEXT --commit-description TEXT --create-pr --every FLOAT --quiet]hf auth — Manage authentication (login, logout, etc.).hf auth list — List all stored access tokens.hf auth login — Login using a token from huggingface.co/settings/tokens. [--add-to-git-credential --force]hf auth logout — Logout from a specific token. [--token-name TEXT]hf auth switch — Switch between access tokens. [--token-name TEXT --add-to-git-credential]hf auth whoami — Find out which huggingface.co account you are logged in as. [--format CHOICE]hf buckets — Commands to interact with buckets.hf buckets cp SRC — Copy a single file to or from a bucket. [--quiet]hf buckets create BUCKET_ID — Create a new bucket. [--private --exist-ok --quiet]hf buckets delete BUCKET_ID — Delete a bucket. [--yes --missing-ok --quiet]hf buckets info BUCKET_ID — Get info about a bucket. [--quiet]hf buckets list — List buckets or files in a bucket. [--human-readable --tree --recursive --format CHOICE --quiet]hf cache — Manage local cache directory.hf cache list — List cached repositories or revisions. [--cache-dir TEXT --revisions --filter TEXT --format CHOICE --quiet --sort CHOICE --limit INTEGER]hf cache prune — Remove detached revisions from the cache. [--cache-dir TEXT --yes --dry-run]hf cache rm TARGETS — Remove cached repositories or revisions. [--cache-dir TEXT --yes --dry-run]hf cache verify REPO_ID — Verify checksums for a single repo revision from cache or a local directory. [--type CHOICE --revision TEXT --cache-dir TEXT --local-dir TEXT --fail-on-missing-files --fail-on-extra-files]hf collections — Interact with collections on the Hub.hf collections add-item COLLECTION_SLUG ITEM_ID ITEM_TYPE — Add an item to a collection. [--note TEXT --exists-ok]hf collections create TITLE — Create a new collection on the Hub. [--namespace TEXT --description TEXT --private --exists-ok]hf collections delete COLLECTION_SLUG — Delete a collection from the Hub. [--missing-ok]hf collections delete-item COLLECTION_SLUG ITEM_OBJECT_ID — Delete an item from a collection. [--missing-ok]hf collections info COLLECTION_SLUG — Get info about a collection on the Hub. Output is in JSON format.hf datasets — Interact with datasets on the Hub.hf datasets info DATASET_ID — Get info about a dataset on the Hub. Output is in JSON format. [--revision TEXT --expand TEXT]hf datasets list — List datasets on the Hub. [--search TEXT --author TEXT --filter TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]hf datasets parquet DATASET_ID — List parquet file URLs available for a dataset. [--subset TEXT --split TEXT --format CHOICE --quiet]hf datasets sql SQL — Execute a raw SQL query with DuckDB against dataset parquet URLs. [--format CHOICE]hf discussions — Manage discussions and pull requests on the Hub.hf discussions close REPO_ID NUM — Close a discussion or pull request. [--comment TEXT --yes --type CHOICE]hf discussions comment REPO_ID NUM — Comment on a discussion or pull request. [--body TEXT --body-file PATH --type CHOICE]hf discussions create REPO_ID --title TEXT — Create a new discussion or pull request on a repo. [--body TEXT --body-file PATH --pull-request --type CHOICE]hf discussions diff REPO_ID NUM — Show the diff of a pull request. [--type CHOICE]hf discussions info REPO_ID NUM — Get info about a discussion or pull request. hf endpoints — Manage Hugging Face Inference Endpoints.hf endpoints catalog deploy --repo TEXT — Deploy an Inference Endpoint from the Model Catalog. [--name TEXT --accelerator TEXT --namespace TEXT]hf endpoints catalog list — List available Catalog models.hf endpoints delete NAME — Delete an Inference Endpoint permanently. [--namespace TEXT --yes]hf endpoints deploy NAME --repo TEXT --framework TEXT --accelerator TEXT --instance-size TEXT --instance-type TEXT --region TEXT --vendor TEXT — Deploy an Inference Endpoint from a Hub repository. [--namespace TEXT --task TEXT --min-replica INTEGER --max-replica INTEGER --scale-to-zero-timeout INTEGER --scaling-metric CHOICE --scaling-threshold FLOAT]hf endpoints describe NAME — Get information about an existing endpoint. hf extensions — Manage hf CLI extensions.hf extensions exec NAME — Execute an installed extension.hf extensions install REPO_ID — Install an extension from a public GitHub repository. [--force]hf extensions list — List installed extension commands. [--format CHOICE --quiet]hf extensions remove NAME — Remove an installed extension.hf extensions search — Search extensions available on GitHub (tagged with 'hf-extension' topic). [--format CHOICE --quiet]hf jobs — Run and manage Jobs on the Hub.hf jobs cancel JOB_ID — Cancel a Job [--namespace TEXT]hf jobs hardware — List available hardware options for Jobshf jobs inspect JOB_IDS — Display detailed information on one or more Jobs [--namespace TEXT]hf jobs logs JOB_ID — Fetch the logs of a Job. [--follow --tail INTEGER --namespace TEXT]hf jobs ps — List Jobs. [--all --namespace TEXT --filter TEXT --format TEXT --quiet]hf jobs run IMAGE COMMAND — Run a Job. hf models — Interact with models on the Hub.hf models info MODEL_ID — Get info about a model on the Hub. Output is in JSON format. [--revision TEXT --expand TEXT]hf models list — List models on the Hub. [--search TEXT --author TEXT --filter TEXT --num-parameters TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]hf papers — Interact with papers on the Hub.hf papers list — List daily papers on the Hub. [--date TEXT --sort CHOICE --limit INTEGER --format CHOICE --quiet]hf repos — Manage repos on the Hub.hf repos branch create REPO_ID BRANCH — Create a new branch for a repo on the Hub. [--revision TEXT --type CHOICE --exist-ok]hf repos branch delete REPO_ID BRANCH — Delete a branch from a repo on the Hub. [--type CHOICE]hf repos create REPO_ID — Create a new repo on the Hub. [--type CHOICE --space-sdk TEXT --private --exist-ok --resource-group-id TEXT]hf repos delete REPO_ID — Delete a repo from the Hub. This is an irreversible operation. [--type CHOICE --missing-ok]hf repos delete-files REPO_ID PATTERNS — Delete files from a repo on the Hub. hf skills — Manage skills for AI assistants.hf skills add — Download a skill and install it for an AI assistant. [--claude --codex --cursor --opencode --global --dest PATH --force]hf skills preview — Print the generated SKILL.md to stdout.hf spaces — Interact with spaces on the Hub.hf spaces dev-mode SPACE_ID — Enable or disable dev mode on a Space. [--stop]hf spaces hot-reload SPACE_ID — Hot-reload any Python file of a Space without a full rebuild + restart. [--local-file TEXT --skip-checks --skip-summary]hf spaces info SPACE_ID — Get info about a space on the Hub. Output is in JSON format. [--revision TEXT --expand TEXT]hf spaces list — List spaces on the Hub. [--search TEXT --author TEXT --filter TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]hf webhooks — Manage webhooks on the Hub.hf webhooks create --watch TEXT — Create a new webhook. [--url TEXT --job-id TEXT --domain CHOICE --secret TEXT]hf webhooks delete WEBHOOK_ID — Delete a webhook permanently. [--yes]hf webhooks disable WEBHOOK_ID — Disable an active webhook.hf webhooks enable WEBHOOK_ID — Enable a disabled webhook.hf webhooks info WEBHOOK_ID — Show full details for a single webhook as JSON.hf webhooks list — List all webhooks for the current user. [--format CHOICE --quiet]--format — Output format: --format json (or --json) or --format table (default).-q / --quiet — Minimal output.--revision — Git revision id which can be a branch name, a tag, or a commit hash.--token — Use a User Access Token. Prefer setting HF_TOKEN env var instead of passing --token.--type — The type of repository (model, dataset, or space).hf <command> --help for full options, descriptions, usage, and real-world examplesHF_TOKEN env var (recommended) or with --tokenWeekly Installs
164
Repository
GitHub Stars
9.9K
First Seen
Mar 6, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex150
github-copilot149
opencode149
kimi-cli148
amp148
cursor148
hf upload-large-folder REPO_ID LOCAL_PATH — Upload a large folder to the Hub. Recommended for resumable uploads. [--type CHOICE --revision TEXT --private --include TEXT --exclude TEXT --num-workers INTEGER --no-report --no-bars]hf version — Print information about the hf version.hf buckets move FROM_ID TO_ID — Move (rename) a bucket to a new name or namespace.hf buckets remove ARGUMENT — Remove files from a bucket. [--recursive --yes --dry-run --include TEXT --exclude TEXT --quiet]hf buckets 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 --quiet]hf collections list — List collections on the Hub. [--owner TEXT --item TEXT --sort CHOICE --limit INTEGER --format CHOICE --quiet]hf collections update COLLECTION_SLUG — Update a collection's metadata on the Hub. [--title TEXT --description TEXT --position INTEGER --private --theme TEXT]hf collections update-item COLLECTION_SLUG ITEM_OBJECT_ID — Update an item in a collection. [--note TEXT --position INTEGER][--comments --diff --no-color --type CHOICE --format CHOICE]hf discussions list REPO_ID — List discussions and pull requests on a repo. [--status CHOICE --kind CHOICE --author TEXT --limit INTEGER --type CHOICE --format CHOICE --quiet]hf discussions merge REPO_ID NUM — Merge a pull request. [--comment TEXT --yes --type CHOICE]hf discussions rename REPO_ID NUM NEW_TITLE — Rename a discussion or pull request. [--type CHOICE]hf discussions reopen REPO_ID NUM — Reopen a closed discussion or pull request. [--comment TEXT --yes --type CHOICE][--namespace TEXT]hf endpoints list — Lists all Inference Endpoints for the given namespace. [--namespace TEXT --format CHOICE --quiet]hf endpoints pause NAME — Pause an Inference Endpoint. [--namespace TEXT]hf endpoints resume NAME — Resume an Inference Endpoint. [--namespace TEXT --fail-if-already-running]hf endpoints scale-to-zero NAME — Scale an Inference Endpoint to zero. [--namespace TEXT]hf endpoints update NAME — Update an existing endpoint. [--namespace TEXT --repo TEXT --accelerator TEXT --instance-size TEXT --instance-type TEXT --framework TEXT --revision TEXT --task TEXT --min-replica INTEGER --max-replica INTEGER --scale-to-zero-timeout INTEGER --scaling-metric CHOICE --scaling-threshold FLOAT][--env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --flavor CHOICE --timeout TEXT --detach --namespace TEXT]hf jobs scheduled delete SCHEDULED_JOB_ID — Delete a scheduled Job. [--namespace TEXT]hf jobs scheduled inspect SCHEDULED_JOB_IDS — Display detailed information on one or more scheduled Jobs [--namespace TEXT]hf jobs scheduled ps — List scheduled Jobs [--all --namespace TEXT --filter TEXT --format TEXT --quiet]hf jobs scheduled resume SCHEDULED_JOB_ID — Resume (unpause) a scheduled Job. [--namespace TEXT]hf jobs scheduled run SCHEDULE IMAGE COMMAND — Schedule a Job. [--suspend --concurrency --env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --flavor CHOICE --timeout TEXT --namespace TEXT]hf jobs scheduled suspend SCHEDULED_JOB_ID — Suspend (pause) a scheduled Job. [--namespace TEXT]hf jobs scheduled uv run SCHEDULE SCRIPT — Run a UV script (local file or URL) on HF infrastructure [--suspend --concurrency --image TEXT --flavor CHOICE --env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --timeout TEXT --namespace TEXT --with TEXT --python TEXT]hf jobs stats — Fetch the resource usage statistics and metrics of Jobs [--namespace TEXT]hf jobs uv run SCRIPT — Run a UV script (local file or URL) on HF infrastructure [--image TEXT --flavor CHOICE --env TEXT --secrets TEXT --label TEXT --env-file TEXT --secrets-file TEXT --timeout TEXT --detach --namespace TEXT --with TEXT --python TEXT][--type CHOICE --revision TEXT --commit-message TEXT --commit-description TEXT --create-pr]hf repos duplicate FROM_ID — Duplicate a repo on the Hub (model, dataset, or Space). [--type CHOICE --private --exist-ok]hf repos move FROM_ID TO_ID — Move a repository from a namespace to another namespace. [--type CHOICE]hf repos settings REPO_ID — Update the settings of a repository. [--gated CHOICE --private --type CHOICE]hf repos tag create REPO_ID TAG — Create a tag for a repo. [--message TEXT --revision TEXT --type CHOICE]hf repos tag delete REPO_ID TAG — Delete a tag for a repo. [--yes --type CHOICE]hf repos tag list REPO_ID — List tags for a repo. [--type CHOICE]hf webhooks update WEBHOOK_ID — Update an existing webhook. Only provided options are changed. [--url TEXT --watch TEXT --domain CHOICE --secret TEXT]