HUGO-MOD-NPM(1)
π hugo-mod-npm β like, the npm helpers era π
okay so bestie, this is a page from the Hugo Manual, and it's all about hugo-mod-npm β the little subcommand that handles your npm biz. iykyk.
β¨ NAME β¨
hugo-mod-npm β various npm helpers π«Ά
πΈ SYNOPSIS πΈ
hugo mod npm [command] [flags]
π¦ DESCRIPTION π¦
Various npm (Node package manager) helpers. that's it, that's the vibe β it's the corner of Hugo that speaks npm. iconic behavior honestly π
π OPTIONS π
-h,--help[=false]β help for npm. the classic "wait what does this do again" button β¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
these bad boys come down from the parent command, so they work here too β no cap, they're inherited π§
--clock=""β set the clock used by Hugo, 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.hugo_build.lockfile--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
ok real talk: --renderToMemory is giving "mostly useful when running the server" energy β that's straight from the docs, not me guessing π
π SEE ALSO π
go check out hugo-mod-npm-pack next, she's the main character of this little family π¦ and that's the whole page, periodt π
Hugo 0.169.0 Β· Oct 2026 β mwah, luv u, go read the other manpages bestie ππ
π¦ 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