HUGO-NEW-PROJECT(1)

πŸ¦‹ hugo-new-project(1) β€” Hugo Manual πŸ¦‹

Okay so bestie, this is the Hugo Manual page for hugo-new-project, and it's giving β€œmake a whole new project, slay.” πŸ’–

🌸 NAME 🌸

hugo-new-project β€” create a new project. Periodt. πŸ‘‘

✨ SYNOPSIS ✨

hugo new project [path] [flags]

πŸŽ€ DESCRIPTION πŸŽ€

Create a new project at the specified path. That's the whole vibe: you point at a path, and Hugo sets up a new project there. 🫢

πŸ’… OPTIONS πŸ’…

  • -f, --force[=false] β€” init inside a non-empty directory. Yes, even when the directory already has stuff in it. πŸ’…
  • --format="toml" β€” the preferred file format. Your choices are toml, yaml, or json, and the default is toml. ✨
  • -h, --help[=false] β€” help for project. Iconic, honestly. πŸŽ€

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

These bad boys come from the parent command, but they're still part of the group chat. 🫢

  • --clock="" β€” set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00. ⏰
  • --config="" β€” config file; default is hugo.yaml|json|toml. πŸ“
  • --configDir="config" β€” config dir. Default is config. πŸ“
  • -d, --destination="" β€” filesystem path to write files to. πŸ—‚οΈ
  • -e, --environment="" β€” build environment. 🌱
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern. 🚫
  • --logLevel="" β€” log level, one of debug|info|warn|error. πŸ”Š
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file. πŸ”’
  • --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-new(1) β€” the related manual page. Go sip that tea next. 🍡

Okay that's the whole page, periodt. 🌈 This beauty is from Hugo 0.169.0, dated Oct 2026. Mwah πŸ’‹

πŸ“¦ where this page comes from