Skip to content

Given a version number, return the information of available installers. If install_hugo() fails, you may run this function to check the available installers and obtain their os/arch info.

Usage

hugo_installers(version = "latest")

Arguments

version

A version number. The default is to automatically detect the latest version. Versions before v0.17 are not supported.

Value

A data frame containing columns os (operating system), arch (architecture), and extended (extended version or not). If your R version is lower than 4.1.0, a character vector of the installer filenames will be returned instead.

Examples

if (FALSE) { # interactive()
blogdown::hugo_installers()
blogdown::hugo_installers("0.89.0")
blogdown::hugo_installers("0.17")
}