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  de‐
49       fined in the site configuration, provided by a _vendor directory (if no
50       --ignoreVendorPaths 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       --ignoreVendorPaths=""      ignores any _vendor for module paths match‐
77       ing the given Glob pattern
78
79
80       --log[=false]      enable Logging
81
82
83       --logFile=""      log File path (if set, logging enabled automatically)
84
85
86       --quiet[=false]      build in quiet mode
87
88
89       -s, --source=""      filesystem path to read files relative from
90
91
92       --themesDir=""      filesystem path to themes directory
93
94
95       -v, --verbose[=false]      verbose output
96
97
98       --verboseLog[=false]      verbose logging
99
100
101

SEE ALSO

103       hugo-mod(1)
104
105
106
107Hugo 0.98.0                        Jul 2022                    HUGO-MOD-GET(1)
Impressum