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 are toml, yaml or json. default is toml, no cap.
  • -h, --help[=false] β€” help for site. 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 is hugo.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 _vendor for 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.lock file.
  • --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