Your company here — click to reach over 10,000 unique daily visitors

Package hugo

The world’s fastest framework for building websites


Hugo is a static HTML and CSS website generator written in Go. It is optimized
for speed, easy use and configurability. Hugo takes a directory with content
and templates and renders them into a full HTML website.

Version: 0.126.2

General Commands

hugo hugo builds your site
hugo-completion Generate the autocompletion script for the specified shell
hugo-completion-bash Generate the autocompletion script for bash
hugo-completion-fish Generate the autocompletion script for fish
hugo-completion-powershell Generate the autocompletion script for powershell
hugo-completion-zsh Generate the autocompletion script for zsh
hugo-config Print the site configuration
hugo-config-mounts Print the configured file mounts
hugo-convert Convert your content to different formats
hugo-convert-toJSON Convert front matter to JSON
hugo-convert-toTOML Convert front matter to TOML
hugo-convert-toYAML Convert front matter to YAML
hugo-deploy Deploy your site to a Cloud provider.
hugo-env Print Hugo version and environment info
hugo-gen A collection of several useful generators.
hugo-gen-chromastyles Generate CSS stylesheet for the Chroma code highlighter
hugo-gen-doc Generate Markdown documentation for the Hugo CLI.
hugo-gen-man Generate man pages for the Hugo CLI
hugo-import Import your site from others.
hugo-import-jekyll hugo import from Jekyll
hugo-list Listing out various types of content
hugo-list-all List all content
hugo-list-drafts List draft content
hugo-list-expired List expired content
hugo-list-future List future content
hugo-list-published List published content
hugo-mod Various Hugo Modules helpers.
hugo-mod-clean Delete the Hugo Module cache for the current project.
hugo-mod-get Resolves dependencies in your current Hugo Project.
hugo-mod-graph Print a module dependency graph.
hugo-mod-init Initialize this project as a Hugo Module.
hugo-mod-npm Various npm helpers.
hugo-mod-npm-pack Experimental: Prepares and writes a composite package.json file for your project.
hugo-mod-tidy Remove unused entries in go.mod and go.sum.
hugo-mod-vendor Vendor all module dependencies into the _vendor directory.
hugo-mod-verify Verify dependencies.
hugo-new Create new content for your site
hugo-new-content Create new content for your site
hugo-new-site Create a new site (skeleton)
hugo-new-theme Create a new theme (skeleton)
hugo-server A high performance webserver
hugo-server-trust Install the local CA in the system trust store.
hugo-version Print Hugo version and environment info