Hugo โ Run and Build
Requirements:
- Install Hugo (Extended) and Git
 - Optional: Go (for some themes/tools)
 
Install Hugo:
Windows (Chocolatey):
choco install hugo-extended -ymacOS (Homebrew):
brew install hugoVerify:
hugo versionCreate a new site:
hugo new site my-hugo-sitecd my-hugo-sitegit initAdd a theme (example: PaperMod):
git submodule add https://github.com/adityatelange/hugo-PaperMod themes/PaperModecho 'theme = "PaperMod"' >> hugo.tomlAdd your first page:
hugo new posts/hello-world.mdRun locally (dev server with live reload):
hugo server -DVisit http://localhost:1313
Build static site (output to public/):
hugoDeploy public/ to your static host (e.g., Netlify, GitHub Pages, S3).