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, likehttps://spf13.com/π--cacheDir=""β filesystem path to the cache directory π-c,--contentDir=""β filesystem path to the content directory β¨-h,--help[=false]β help forvendor, 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 ishugo.yaml|json|toml) π--configDir="config"β config dir π-d,--destination=""β filesystem path to write files to π¦-e,--environment=""β build environment πΏ--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern π--logLevel=""β log level (debug|info|warn|error) π₯--noBuildLock[=false]β don't create the.hugo_build.lockfile π--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
- arch rolling: hugo 0.169.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms