Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS/Linux] asdf hugo #14

Closed
leoli0605 opened this issue Apr 17, 2024 · 1 comment
Closed

[macOS/Linux] asdf hugo #14

leoli0605 opened this issue Apr 17, 2024 · 1 comment

Comments

@leoli0605
Copy link
Owner

leoli0605 commented Apr 17, 2024

https://github.com/NeoHsu/asdf-hugo

asdf plugin add hugo
# asdf install hugo latest
# asdf global hugo latest
# asdf install hugo extended_0.125.6
# asdf global hugo extended_0.125.6
HUGO_LATEST_VERSION=$(asdf list-all hugo | tail -1)
asdf install hugo extended_$HUGO_LATEST_VERSION
asdf global hugo extended_$HUGO_LATEST_VERSION

NeoHsu/asdf-hugo#7

@leoli0605
Copy link
Owner Author

leoli0605 commented May 8, 2024

wget -O hugo_extended_0.125.6.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.125.6/hugo_extended_0.125.6_linux-amd64.tar.gz && \
tar xf hugo_extended_0.125.6.tar.gz && \
sudo mv hugo /usr/bin/hugo && \
rm hugo_extended_0.125.6.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant