---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo"
slug: hugo
url: /commands/hugo/
Hugo is a Fast and Flexible Static Site Generator
built with love by spf13 and friends in Go.
-Complete documentation is available at https://gohugo.io/.
+Complete documentation is available at http://gohugo.io/.
```
hugo [flags]
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
+ --print-mem print memory usage to screen at intervals
--quiet build in quiet mode
--renderToMemory render to memory (only useful for benchmark testing)
-s, --source string filesystem path to read files relative from
* [hugo server](/commands/hugo_server/) - A high performance webserver
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo check"
slug: hugo_check
url: /commands/hugo_check/
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo check ulimit"
slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/
* [hugo check](/commands/hugo_check/) - Contains some verification checks
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo config"
slug: hugo_config
url: /commands/hugo_config/
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo config mounts](/commands/hugo_config_mounts/) - Print the configured file mounts
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo config mounts"
slug: hugo_config_mounts
url: /commands/hugo_config_mounts/
* [hugo config](/commands/hugo_config/) - Print the site configuration
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo convert"
slug: hugo_convert
url: /commands/hugo_convert/
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo convert toJSON"
slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo convert toTOML"
slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo convert toYAML"
slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo deploy"
slug: hugo_deploy
url: /commands/hugo_deploy/
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo env"
slug: hugo_env
url: /commands/hugo_env/
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo gen"
slug: hugo_gen
url: /commands/hugo_gen/
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI.
* [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo gen autocomplete"
slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo gen chromastyles"
slug: hugo_gen_chromastyles
url: /commands/hugo_gen_chromastyles/
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo gen doc"
slug: hugo_gen_doc
url: /commands/hugo_gen_doc/
Generate Markdown documentation for the Hugo CLI.
This command is, mostly, used to create up-to-date documentation
-of Hugo's command-line interface for https://gohugo.io/.
+of Hugo's command-line interface for http://gohugo.io/.
It creates one Markdown file per command with front matter suitable
for rendering in Hugo.
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo gen man"
slug: hugo_gen_man
url: /commands/hugo_gen_man/
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo import"
slug: hugo_import
url: /commands/hugo_import/
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo import jekyll"
slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/
* [hugo import](/commands/hugo_import/) - Import your site from others.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo list"
slug: hugo_list
url: /commands/hugo_list/
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo list all"
slug: hugo_list_all
url: /commands/hugo_list_all/
* [hugo list](/commands/hugo_list/) - Listing out various types of content
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo list drafts"
slug: hugo_list_drafts
url: /commands/hugo_list_drafts/
* [hugo list](/commands/hugo_list/) - Listing out various types of content
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo list expired"
slug: hugo_list_expired
url: /commands/hugo_list_expired/
* [hugo list](/commands/hugo_list/) - Listing out various types of content
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo list future"
slug: hugo_list_future
url: /commands/hugo_list_future/
* [hugo list](/commands/hugo_list/) - Listing out various types of content
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod"
slug: hugo_mod
url: /commands/hugo_mod/
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
+ --print-mem print memory usage to screen at intervals
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/)
* [hugo mod vendor](/commands/hugo_mod_vendor/) - Vendor all module dependencies into the _vendor directory.
* [hugo mod verify](/commands/hugo_mod_verify/) - Verify dependencies.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod clean"
slug: hugo_mod_clean
url: /commands/hugo_mod_clean/
Note that after you run this command, all of your dependencies will be re-downloaded next time you run "hugo".
Also note that if you configure a positive maxAge for the "modules" file cache, it will also be cleaned as part of "hugo --gc".
+
```
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod get"
slug: hugo_mod_get
url: /commands/hugo_mod_get/
Install the latest version possible for a given module:
hugo mod get github.com/gohugoio/testshortcodes
-
+
Install a specific version:
hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod graph"
slug: hugo_mod_graph
url: /commands/hugo_mod_graph/
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod init"
slug: hugo_mod_init
url: /commands/hugo_mod_init/
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod tidy"
slug: hugo_mod_tidy
url: /commands/hugo_mod_tidy/
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod vendor"
slug: hugo_mod_vendor
url: /commands/hugo_mod_vendor/
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo mod verify"
slug: hugo_mod_verify
url: /commands/hugo_mod_verify/
* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo new"
slug: hugo_new
url: /commands/hugo_new/
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
+ --print-mem print memory usage to screen at intervals
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/)
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo new site"
slug: hugo_new_site
url: /commands/hugo_new_site/
* [hugo new](/commands/hugo_new/) - Create new content for your site
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo new theme"
slug: hugo_new_theme
url: /commands/hugo_new_theme/
* [hugo new](/commands/hugo_new/) - Create new content for your site
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo server"
slug: hugo_server
url: /commands/hugo_server/
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
-p, --port int port on which the server will listen (default 1313)
+ --print-mem print memory usage to screen at intervals
--renderToDisk render to Destination path (default is render to memory & serve from there)
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020
---
-date: 2020-03-03
+date: 2020-09-07
title: "hugo version"
slug: hugo_version
url: /commands/hugo_version/
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 3-Mar-2020
+###### Auto generated by spf13/cobra on 7-Sep-2020