Downloads binary from hugo releases, and installs in system wide cache.
hugo_install(version = NULL, os = hugo_os(), arch = "64bit", extended = TRUE)
version | String giving version (e.g. "0.69.0"). If omitted will default to latest release. |
---|---|
os | Operating system, one of "Linux", "Windows", "macOS". Defaults to current operating system. |
arch | Architecture |
extended | Installed hugo-extended which also includes SCSS etc? |
if (FALSE) { hugo_install() }