HUGO(1)
π NAME π
hey bestie!! welcome to the HUGO(1) page from the Hugo Manual β¨ you're gonna slay this, i promise π«Ά
hugo β Build your project
β¨ SYNOPSIS β¨
hugo [flags]
π¦ DESCRIPTION π¦
okay so hugo is the main command, used to build your Hugo project. no cap, that's the whole vibe of this page π
Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go. iconic behavior fr fr πΉβ¨
Complete documentation is available at https://gohugo.io/ β go read it, bestie, the docs are giving main character energy ππ
π OPTIONS π
okay bestie, here's the full flag menu β every single one, no skips, periodt π
-b,--baseURL=""β hostname (and path) to the root, e.g.https://spf13.com/.-D,--buildDrafts[=false]β include content marked as draft.-E,--buildExpired[=false]β include expired content.-F,--buildFuture[=false]β include content with publishdate in the future.--cacheDir=""β filesystem path to cache directory.--cleanDestinationDir[=false]β remove stale files from destination.--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.-c,--contentDir=""β filesystem path to content directory.-d,--destination=""β filesystem path to write files to.--disableKinds=[]β disable different kind of pages (home, RSS etc.).--enableGitInfo[=false]β add Git revision, date, author, and CODEOWNERS info to the pages.-e,--environment=""β build environment.--forceSyncStatic[=false]β copy all files when static is changed.--gc[=false]β enable to run some cleanup tasks (remove unused cache files) after the build.-h,--help[=false]β help forhugo.--ignoreCache[=false]β ignore the configured file caches.--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the givenGlobpattern.-l,--layoutDir=""β filesystem path to layout directory.--logLevel=""β log level (debug|info|warn|error).--minify[=false]β minify any supported output format (HTML, XML etc.).--noBuildLock[=false]β don't create.hugo_build.lockfile.--noChmod[=false]β don't sync permission mode of files.--noTimes[=false]β don't sync modification time of files.--panicOnWarning[=false]β panic on first WARNING log.--poll=""β set this to a poll interval, e.g--poll 700ms, to use a poll based approach to watch for file system changes.--printI18nWarnings[=false]β print missing translations.--printMemoryUsage[=false]β print memory usage to screen at intervals.--printPathWarnings[=false]β print warnings on duplicate target paths etc.--printUnusedTemplates[=false]β print warnings on unused templates.--quiet[=false]β build in quiet mode.--renderSegments=[]β named segments to render (configured in the segments config).-M,--renderToMemory[=false]β render to memory (mostly useful when running the server).-s,--source=""β filesystem path to read files relative from.--templateMetrics[=false]β display metrics about template executions.--templateMetricsHints[=false]β calculate some improvement hints when combined with--templateMetrics.-t,--theme=[]β themes to use (located in/themes/THEMENAME/).--themesDir=""β filesystem path to themes directory.--trace=""β write trace to file (not useful in general).-w,--watch[=false]β watch filesystem for changes and recreate as needed.
π SEE ALSO π
go give these sibling pages some love too, bestie π«Ά
hugo-build(1)hugo-completion(1)hugo-config(1)hugo-convert(1)hugo-deploy(1)hugo-env(1)hugo-gen(1)hugo-import(1)hugo-list(1)hugo-mod(1)hugo-new(1)hugo-server(1)hugo-version(1)
mwah π that's the whole page, bestie. it comes from Hugo 0.169.0, dated Oct 2026, and it's HUGO(1) in the Hugo Manual β go build something iconic and text me about it β¨π
π¦ 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