hugo_install: Install specified version of hugo

View source: R/hugo-install.R

hugo_installR Documentation

Install specified version of hugo

Description

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

Usage

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

## Not run: 
hugo_install()

## End(Not run)

r-lib/hugodown documentation built on Nov. 24, 2022, 10:06 a.m.