HUGO-ENV(1)

πŸ’… hugo-env(1) β€” the Hugo Manual, bestie edition

ok so you're looking at hugo-env from the Hugo Manual and honestly? it's a little guy with a big job. let's get into it 🫢


✨ NAME ✨

hugo-env β€” Display version and environment info

🌸 SYNOPSIS 🌸

hugo env [flags] [args]

πŸ¦‹ DESCRIPTION πŸ¦‹

Display version and environment info. This is useful in Hugo bug reports.

no like literally, this is the "here's my whole situation" command. when something's acting up and you gotta tell the Hugo girlies what's going on with your setup, you run this and paste the output. it's giving receipts πŸ’…βœ¨

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” help for env. your little "wait what does this do again" button πŸ₯Ί

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these come down from hugo itself, so they're the ✨main character✨ flags living rent-free in env too:

  • --clock="" β€” set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
  • --config="" β€” config file (default is hugo.yaml|json|toml)
  • --configDir="config" β€” config dir
  • -d, --destination="" β€” filesystem path to write files to
  • -e, --environment="" β€” build environment
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern
  • --logLevel="" β€” log level (debug|info|warn|error)
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file
  • --quiet[=false] β€” build in quiet mode 🀫
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when running the server)
  • -s, --source="" β€” filesystem path to read files relative from
  • --themesDir="" β€” filesystem path to themes directory

🌈 SEE ALSO 🌈

  • hugo(1) β€” the mothership. go say hi πŸ’–

ngl if you're filing a bug report, run this first and drop the output in. the maintainers will be obsessed with you πŸ§šβ€β™€οΈ

and that's the vibe check, bestie! this page is from Hugo 0.169.0, dated Oct 2026 β€” iconic behavior, no cap πŸ’œπŸ“

πŸ“¦ where this page comes from