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.githugo:
# Show all installable versions
asdf list all hugo
# Install specific version
asdf install hugo latest
# Set a version for your user (writes to your ~/.tool-versions)
asdf set -u hugo latest
# Now hugo commands are available
hugo versionCheck 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.154.3
# Now you can manage it like you're used to
asdf set -u hugo extended_0.154.3There is also an "extended/deploy" variant which includes the extended build plus additional deployment/cloud functionality.
# Install extended/deploy hugo version
asdf install hugo extended_withdeploy-0.154.3
# Manage it the same way
asdf set --home hugo extended_withdeploy-0.154.3See the Editions section in the Hugo README for more details.
NOTE: The extended builds for Hugo (including the with-deploy edition) 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.