HUGO-MOD-GET(1)
π HUGO-MOD-GET(1) β the Hugo Manual glow-up π
okay bestie, welcome to the Hugo Manual entry for hugo-mod-get, and honestly? this one's a whole vibe. it's the command that goes and figures out all your dependencies for you. slay.
β¨ NAME β¨
hugo-mod-get β resolves dependencies in your current Hugo project π
π¦ SYNOPSIS π¦
hugo mod get [flags] [args]
πΈ DESCRIPTION πΈ
Resolves dependencies in your current Hugo project. lowkey its whole personality.
Some examples, because examples are the moment:
Install the latest version possible for a given module:
hugo mod get github.com/gohugoio/testshortcodes
Install a specific version:
hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
Install the latest versions of all direct module dependencies:
hugo mod get
hugo mod get ./... (recursive)
Install the latest versions of all module dependencies (direct and indirect β yes, both, no cap):
hugo mod get -u
hugo mod get -u ./... (recursive)
Run go help get for more information. All flags available for go get is also relevant here. iykyk π«Ά
β heads up bestie: Hugo will always start out by resolving the components defined in the project configuration, provided by a_vendordirectory (if no--ignoreVendorPathsflag provided), Go Modules, or a folder inside the themes directory, in that order. the order matters, don't come for me π
See https://gohugo.io/hugo-modules/ for more information.
π OPTIONS π
-h,--help[=false]β help for get π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the hand-me-downs from the parent command and they ate, fr fr:
--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
π SEE ALSO π
hugo-mod(1)β go say hi to the whole mod family, they're iconic
that's the whole page babes, go resolve some dependencies π β¨
mwah π β this was Hugo 0.169.0, dated Oct 2026, brought to you by the Hugo Manual π
π¦ 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