Hugging Face CLI

Version: 1.16.1 darwin linux windows

You can log in to your account, create a repository, upload and download files, etc. It also comes with handy features to configure your machine or manage your cache.

Installation Instructions

Linux

Run Hugging Face CLI Install
{
  "command_parameters": [
    "tool",
    "install",
    "--force",
    "huggingface_hub@1.16.1"
  ],
  "environment": [
    "UV_PYTHON_INSTALL_DIR={{ .PTools }}/hugging_face_cli/{{ .SVar `.tool.hugging_face_cli.download.version` }}/python-installs",
    "UV_TOOL_DIR={{ .PTools }}/hugging_face_cli/{{ .SVar `.tool.hugging_face_cli.download.version` }}/python-tools"
  ],
  "environment_ref": "uv",
  "executable": "uv",
  "ignore_errors": false,
  "timeout": "6m0s",
  "tool_ref": "uv"
}

MacOS

Run Hugging Face CLI Install
{
  "command_parameters": [
    "tool",
    "install",
    "--force",
    "huggingface_hub@1.16.1"
  ],
  "environment": [
    "UV_PYTHON_INSTALL_DIR={{ .PTools }}/hugging_face_cli/{{ .SVar `.tool.hugging_face_cli.download.version` }}/python-installs",
    "UV_TOOL_DIR={{ .PTools }}/hugging_face_cli/{{ .SVar `.tool.hugging_face_cli.download.version` }}/python-tools"
  ],
  "environment_ref": "uv",
  "executable": "uv",
  "ignore_errors": false,
  "timeout": "6m0s",
  "tool_ref": "uv"
}

Binaries