Standalone installer can install the Transformers CLI
Introduced 2026-01-08 · score 0.96
HOW TO USE IT
When installing both CLIs, pass the platform’s Transformers option to the standalone installer. Then run `transformers` directly.
curl -LsSf https://hf.co/cli/install.sh | bash -s -- --with-transformerspowershell -c "irm https://hf.co/cli/install.ps1 | iex" -WithTransformerstransformers serveWHY THIS HELPS
Install the Transformers CLI alongside the hf CLI in a development environment.
REQUIREMENTS AND LIMITATIONS
- Version: v1.3.0
- Requires Run the standalone installer with `--with-transformers` (bash) or `-WithTransformers` (PowerShell).
- --with-transformers: Bash installer option to install the Transformers CLI alongside `hf`.
- -WithTransformers: PowerShell installer switch to install the Transformers CLI alongside `hf`.
FIRST-PARTY EVIDENCE
- https://github.com/huggingface/huggingface_hub/releases/tag/v1.3.0
- https://github.com/huggingface/huggingface_hub/pull/3666
- https://github.com/huggingface/huggingface_hub/blob/v1.3.0/utils/installers/install.sh
Check the installed version and the source before using it. Entry JSON