1HUGO-MOD-GET(1)Apr(2020)                              HUGO-MOD-GET(1)Apr(2020)
2
3
4
5Hugo 0.69.0 Hugo Manual
6
7

NAME

9       hugo-mod-get - Resolves dependencies in your current Hugo Project.
10
11
12

SYNOPSIS

14       hugo mod get [flags]
15
16
17

DESCRIPTION

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              hugo mod get -u ./... (recursive)
44
45
46
47       Run  "go  help  get"  for more information. All flags available for "go
48       get" is also relevant here.
49
50
51       Note that Hugo will  always  start  out  by  resolving  the  components
52       defined  in the site configuration, provided by a _vendor directory (if
53       no --ignoreVendor flag provided), Go Modules, or a  folder  inside  the
54       themes directory, in that order.
55
56
57       See https://gohugo.io/hugo-modules/ for more information.
58
59
60

OPTIONS

62       -h, --help[=false]      help for get
63
64
65

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

105       hugo-mod(1)
106
107
108
109                                                      HUGO-MOD-GET(1)Apr(2020)
Impressum