Downloads binary from hugo releases, and installs in system wide cache.

hugo_install(version = NULL, os = hugo_os(), arch = "64bit", extended = TRUE)

Arguments

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?

Examples

if (FALSE) { hugo_install() }