Hugo is a static site generator written in Go, optimized for speed and designed for flexibility.
CLI Link to heading
| Action | Command |
|---|---|
| Install Hugo | brew install hugo |
| Check Version | hugo version |
| Update Hugo | brew upgrade hugo |
| Create a new project | hugo new site my-hugo-site |
| Use theme | cd my-hugo-sitegit initgit submodule add theme repositoryecho "theme = 'theme name'" >> hugo.toml |
| Create a post | hugo new content posts/hello-world.md |
| Start server | hugo server |