hugo_mod_vendor.md (1448B)
1 ---
2 title: "hugo mod vendor"
3 slug: hugo_mod_vendor
4 url: /commands/hugo_mod_vendor/
5 ---
6 ## hugo mod vendor
7
8 Vendor all module dependencies into the _vendor directory.
9
10 ### Synopsis
11
12 Vendor all module dependencies into the _vendor directory.
13
14 If a module is vendored, that is where Hugo will look for it's dependencies.
15
16
17 ```
18 hugo mod vendor [flags]
19 ```
20
21 ### Options
22
23 ```
24 -h, --help help for vendor
25 ```
26
27 ### Options inherited from parent commands
28
29 ```
30 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
31 --config string config file (default is path/config.yaml|json|toml)
32 --configDir string config dir (default "config")
33 --debug debug output
34 -e, --environment string build environment
35 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
36 --log enable Logging
37 --logFile string log File path (if set, logging enabled automatically)
38 --quiet build in quiet mode
39 -s, --source string filesystem path to read files relative from
40 --themesDir string filesystem path to themes directory
41 -v, --verbose verbose output
42 --verboseLog verbose logging
43 ```
44
45 ### SEE ALSO
46
47 * [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.
48