HUGO-NEW-SITE(1)
β¨ HUGO-NEW-SITE β¨
okay bestie, so this is hugo-new-site β it's the hugo manual page for spawning a brand new site, and honestly? it's giving main character energy from the very first command. π
πΈ SYNOPSIS πΈ
hugo new site [path] [flags]
π¦ DESCRIPTION π¦
Create a new site at the specified path. that's it, that's the whole vibe. you point it at a path, it makes you a site there. slay. β¨
π OPTIONS π
-f,--force[=false]β init inside a non-empty directory. like, yes queen, go ahead and set up shop in a folder that already has stuff in it. π«Ά--format="toml"β the preferred file format. your options aretoml,yamlorjson. default istoml, no cap.-h,--help[=false]β help forsite. it's the "wait what does this do again" button. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones you get from the parent command, and they are lowkey iconic.
--clock=""β set the clock used by Hugo, e.g.--clock 2021-11-06T22:30:00.00+09:00. time travel but make it build tooling. β--config=""β config file (default ishugo.yaml|json|toml). π--configDir="config"β config dir. the place where your config lives, bestie.-d,--destination=""β filesystem path to write files to.-e,--environment=""β build environment. vibe check for which env you're building in. π--ignoreVendorPaths=""β ignores any_vendorfor module paths matching the given Glob pattern. it's literally "not me looking at that vendor folder." π--logLevel=""β log level (debug|info|warn|error). pick your volume, girl. π₯--noBuildLock[=false]β don't create.hugo_build.lockfile.--quiet[=false]β build in quiet mode. shhh. π€«-M,--renderToMemory[=false]β render to memory (mostly useful when running the server). big brain energy. π§-s,--source=""β filesystem path to read files relative from.--themesDir=""β filesystem path to themes directory. all your themes in one cute lil home. π
π SEE ALSO π
hugo-new(1)β the parent, the icon, the moment. go read it next, iykyk. π
that's the whole page, bestie β you ate. π β¨
Hugo 0.154.5 π Β· Jan 2026 πΈ Β· mwah, love u, go build something cute π
π¦ where this page comes from
- ubuntu resolute: hugo 0.154.5-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms