hugo plugin for the asdf version manager.
bash
,curl
,tar
: generic POSIX utilities.
Plugin:
asdf plugin add hugo
# or
asdf plugin add hugo https://github.com/NeoHsu/asdf-hugo.git
hugo:
# Show all installable versions
asdf list-all hugo
# Install specific version
asdf install hugo latest
# Set a version globally (on your ~/.tool-versions file)
asdf global hugo latest
# Now hugo commands are available
hugo version
Check asdf readme for more instructions on how to install & manage versions.
To install an extended Hugo version with Sass/SCSS support simply prefix the version number in the asdf install
command with extended_
.
# Install extended hugo version
asdf install hugo extended_0.85.0
# Now you can manage it like you're used to
asdf global hugo extended_0.85.0
NOTE: The extended builds for hugo are only available for 64bit Linux, macOS, and Windows. See the asset list at https://github.com/gohugoio/hugo/releases/latest.
Contributions of any kind welcome! See the contributing guide.