1HUGO-MOD-GET(1)Nov(2019) HUGO-MOD-GET(1)Nov(2019)
2
3
4
5Hugo 0.59.1 Hugo Manual
6
7
9 hugo-mod-get - Resolves dependencies in your current Hugo Project.
10
11
12
14 hugo mod get [flags]
15
16
17
19 Resolves dependencies in your current Hugo Project.
20
21
22 Some examples:
23
24
25 Install the latest version possible for a given module:
26
27
28 hugo mod get github.com/gohugoio/testshortcodes
29
30
31
32 Install a specific version:
33
34
35 hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
36
37
38
39 Install the latest versions of all module dependencies:
40
41
42 hugo mod get -u
43
44
45
46 Run "go help get" for more information. All flags available for "go
47 get" is also relevant here.
48
49
50 Note that Hugo will always start out by resolving the components
51 defined in the site configuration, provided by a _vendor directory (if
52 no --ignoreVendor flag provided), Go Modules, or a folder inside the
53 themes directory, in that order.
54
55
56 See https://gohugo.io/hugo-modules/ for more information.
57
58
59
61 -h, --help[=false] help for get
62
63
64
66 --config="" config file (default is path/config.yaml|json|toml)
67
68
69 --configDir="config" config dir
70
71
72 --debug[=false] debug output
73
74
75 -e, --environment="" build environment
76
77
78 --ignoreVendor[=false] ignores any _vendor directory
79
80
81 --log[=false] enable Logging
82
83
84 --logFile="" log File path (if set, logging enabled automatically)
85
86
87 --quiet[=false] build in quiet mode
88
89
90 -s, --source="" filesystem path to read files relative from
91
92
93 --themesDir="" filesystem path to themes directory
94
95
96 -v, --verbose[=false] verbose output
97
98
99 --verboseLog[=false] verbose logging
100
101
102
104 hugo-mod(1)
105
106
107
108 HUGO-MOD-GET(1)Nov(2019)