hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

hugo_mod_get.md (2075B)

    1 ---
    2 title: "hugo mod get"
    3 slug: hugo_mod_get
    4 url: /commands/hugo_mod_get/
    5 ---
    6 ## hugo mod get
    7 
    8 Resolves dependencies in your current Hugo Project.
    9 
   10 ### Synopsis
   11 
   12 
   13 Resolves dependencies in your current Hugo Project.
   14 
   15 Some examples:
   16 
   17 Install the latest version possible for a given module:
   18 
   19     hugo mod get github.com/gohugoio/testshortcodes
   20     
   21 Install a specific version:
   22 
   23     hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
   24 
   25 Install the latest versions of all module dependencies:
   26 
   27     hugo mod get -u
   28     hugo mod get -u ./... (recursive)
   29 
   30 Run "go help get" for more information. All flags available for "go get" is also relevant here.
   31 
   32 Note that Hugo will always start out by resolving the components defined in the site
   33 configuration, provided by a _vendor directory (if no --ignoreVendorPaths flag provided),
   34 Go Modules, or a folder inside the themes directory, in that order.
   35 
   36 See https://gohugo.io/hugo-modules/ for more information.
   37 
   38 
   39 
   40 ```
   41 hugo mod get [flags]
   42 ```
   43 
   44 ### Options
   45 
   46 ```
   47   -h, --help   help for get
   48 ```
   49 
   50 ### Options inherited from parent commands
   51 
   52 ```
   53       --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
   54       --config string              config file (default is path/config.yaml|json|toml)
   55       --configDir string           config dir (default "config")
   56       --debug                      debug output
   57   -e, --environment string         build environment
   58       --ignoreVendorPaths string   ignores any _vendor for module paths matching the given Glob pattern
   59       --log                        enable Logging
   60       --logFile string             log File path (if set, logging enabled automatically)
   61       --quiet                      build in quiet mode
   62   -s, --source string              filesystem path to read files relative from
   63       --themesDir string           filesystem path to themes directory
   64   -v, --verbose                    verbose output
   65       --verboseLog                 verbose logging
   66 ```
   67 
   68 ### SEE ALSO
   69 
   70 * [hugo mod](/commands/hugo_mod/)	 - Various Hugo Modules helpers.
   71