1HUGO-MOD-GET(1)                   Hugo Manual                  HUGO-MOD-GET(1)
2
3
4

NAME

6       hugo-mod-get - Resolves dependencies in your current Hugo Project.
7
8
9

SYNOPSIS

11       hugo mod get [flags]
12
13
14

DESCRIPTION

16       Resolves dependencies in your current Hugo Project.
17
18
19       Some examples:
20
21
22       Install the latest version possible for a given module:
23
24
25              hugo mod get github.com/gohugoio/testshortcodes
26
27
28
29       Install a specific version:
30
31
32              hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
33
34
35
36       Install the latest versions of all module dependencies:
37
38
39              hugo mod get -u
40              hugo mod get -u ./... (recursive)
41
42
43
44       Run  "go  help  get"  for more information. All flags available for "go
45       get" is also relevant here.
46
47
48       Note that Hugo will  always  start  out  by  resolving  the  components
49       defined  in the site configuration, provided by a _vendor directory (if
50       no --ignoreVendor flag provided), Go Modules, or a  folder  inside  the
51       themes directory, in that order.
52
53
54       See https://gohugo.io/hugo-modules/ for more information.
55
56
57

OPTIONS

59       -h, --help[=false]      help for get
60
61
62

OPTIONS INHERITED FROM PARENT COMMANDS

64       --config=""      config file (default is path/config.yaml|json|toml)
65
66
67       --configDir="config"      config dir
68
69
70       --debug[=false]      debug output
71
72
73       -e, --environment=""      build environment
74
75
76       --ignoreVendor[=false]      ignores any _vendor directory
77
78
79       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
80       ing the given Glob pattern
81
82
83       --log[=false]      enable Logging
84
85
86       --logFile=""      log File path (if set, logging enabled automatically)
87
88
89       --quiet[=false]      build in quiet mode
90
91
92       -s, --source=""      filesystem path to read files relative from
93
94
95       --themesDir=""      filesystem path to themes directory
96
97
98       -v, --verbose[=false]      verbose output
99
100
101       --verboseLog[=false]      verbose logging
102
103
104

SEE ALSO

106       hugo-mod(1)
107
108
109
110Hugo 0.80.0                        Jan 2021                    HUGO-MOD-GET(1)
Impressum