HUGO-MOD-VERIFY(1)

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

okay so you found the hugo mod verify page, welcome, this one's actually kinda important πŸ‘‘


✨ NAME ✨

hugo-mod-verify β€” verify dependencies 🫢


✨ SYNOPSIS ✨

hugo mod verify [flags] [args]

✨ DESCRIPTION ✨

so basically verify does a vibe check on your current module's dependencies πŸ” β€” the ones sitting in your local downloaded source cache. It checks that nobody (and nothing) has messed with them since they were downloaded. no cap, it's literally just "did these files change behind my back" energy. if something got modified after download, verify will catch it πŸ’€


✨ OPTIONS ✨

  • -b, --baseURL="" β€” the hostname (and path) to the root, like https://spf13.com/ β€” yes that exact example, iconic 🌈
  • --cacheDir="" β€” filesystem path to the cache directory πŸŽ€
  • --clean[=false] β€” deletes the module cache for any dependencies that straight up fail verification 🧹 (defaults to false, so it's opt-in, we love a safe default)
  • -c, --contentDir="" β€” filesystem path to the content directory πŸ“
  • -h, --help[=false] β€” help for verify β€” the classic, always there for you 🫢
  • --renderSegments=[] β€” the named segments to render (set up in the segments config) ✨
  • -t, --theme=[] β€” the themes to use, which live in /themes/THEMENAME/ πŸ‘‘

✨ OPTIONS INHERITED FROM PARENT COMMANDS ✨

these are the ones you get for free from the parent command, no extra charge πŸ’–

  • --clock="" β€” sets the clock Hugo uses, like --clock 2021-11-06T22:30:00.00+09:00 ⏰
  • --config="" β€” config file (default is hugo.yaml|json|toml) πŸ“
  • --configDir="config" β€” the config dir, defaults to config πŸ—‚οΈ
  • -d, --destination="" β€” filesystem path to write files to πŸ“€
  • -e, --environment="" β€” the build environment 🌱
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern πŸ™ˆ
  • --logLevel="" β€” log level, one of debug|info|warn|error πŸ”Š
  • --noBuildLock[=false] β€” don't create the .hugo_build.lock file, defaults to false πŸ”“
  • --quiet[=false] β€” build in quiet mode, defaults to false 🀫
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when you're running the server), defaults to false 🧠
  • -s, --source="" β€” filesystem path to read files relative from πŸ“
  • --themesDir="" β€” filesystem path to the themes directory 🎨
lowkey reminder: those [=false] and [] bits are the defaults, not decoration β€” don't come for me if you leave them off and get different behaviour, iykyk πŸ’€

✨ SEE ALSO ✨

  • hugo-mod(1) β€” go hang out with the parent command, it knows things πŸ¦‹

and that's the whole page bestie, you ate that πŸ’…βœ¨ β€” this adorable little doc ships as Hugo 0.169.0, dated Oct 2026, so if you're reading it in some other timeline, that's on you 😭🌸

πŸ“¦ where this page comes from