hf env

Category: AI/ML Tooling

hf env

Print environment and install info

Dumps the environment report used for Hugging Face bug reports: hf version, Python version, OS, token location, and whether a token is saved. Paste its output into a GitHub issue when something misbehaves. `hf version` prints just the version number for quick checks.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.