Skip to content

nklmilojevic/asdf-hugo

Repository files navigation

asdf-hugo Build Lint

hugo plugin for the asdf version manager.

Contents

Dependencies

  • bash, curl, tar: generic POSIX utilities.
  • SOME_ENV_VAR: set this environment variable in your shell config to load the correct version of tool x.

Install

Plugin:

asdf plugin add hugo https://github.com/nklmilojevic/asdf-hugo.git

hugo:

# Show all installable versions
asdf list-all hugo

# Install specific version
asdf install hugo latest

# Install specific extended version (for Sass/SCSS support)
asdf install hugo extended_X.Y.Z

# 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.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Nikola Milojević