HUGO
News Docs Themes Community GitHub

hugo

Build your site.

hugo build

Build 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

Display site configuration.

hugo config mounts

Print the configured file mounts.

hugo convert

Convert front matter to another format.

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

Display version and environment info.

hugo gen

Generate documentation and syntax highlighting styles.

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 a site from another system.

hugo import jekyll

hugo import from Jekyll.

hugo list

List 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

Manage modules.

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.

hugo new content

Create new content.

hugo new site

Create a new site (skeleton).

hugo new theme

Create a new theme (skeleton).

hugo server

Start the embedded web server.

hugo server trust

Install the local CA in the system trust store.

hugo version

Display version.