HUGO-MOD-VENDOR(1)

πŸ’… hugo-mod-vendor β€” the Hugo Manual era πŸŽ€

okay so bestie, welcome to hugo-mod-vendor, straight out of the Hugo Manual ✨ this one's short and sweet and honestly kind of a vibe.


✨ NAME ✨

hugo-mod-vendor β€” literally just vendors all your module dependencies into the _vendor directory 🫢 no cap, that's the whole gig.


🌸 SYNOPSIS 🌸

hugo mod vendor [flags] [args]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie: this command vendors all your module dependencies into the _vendor directory. πŸ’–

And why do we care?? because if a module is vendored, that is exactly where Hugo will look for its dependencies. that's the spot. main character directory energy fr fr πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

  • -b, --baseURL="" β€” the hostname (and path) to your root, like https://spf13.com/ 🌈
  • --cacheDir="" β€” filesystem path to the cache directory πŸ“
  • -c, --contentDir="" β€” filesystem path to the content directory ✨
  • -h, --help[=false] β€” help for vendor, iykyk πŸŽ€
  • --renderSegments=[] β€” the named segments to render (configured over in the segments config, not here) πŸ’…
  • -t, --theme=[] β€” the themes to use (they live in /themes/THEMENAME/) 🌸

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

these bad boys come from the parent command, so you get them for free 🫢

  • --clock="" β€” set the clock Hugo uses, 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 the .hugo_build.lock file πŸ™ˆ
  • --quiet[=false] β€” build in quiet mode 🀫
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when you're running the server) πŸ’€
  • -s, --source="" β€” filesystem path to read files relative from 🧚
  • --themesDir="" β€” filesystem path to the themes directory πŸ’œ

🌈 SEE ALSO 🌈

  • hugo-mod(1) β€” go say hi to the parent, bestie 🫢

ok that's the whole page, no cap. go vendor those deps and slay πŸ’…βœ¨

signing off with love: this was Hugo 0.169.0, dated Oct 2026 β€” catch you in the next manpage, mwah πŸ˜˜πŸŽ€

πŸ“¦ where this page comes from