From c9cc7852cb72c0e9cbc5ba94dbba2755bec365bf Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Fri, 10 Aug 2018 02:32:28 -0600 Subject: [PATCH] Add "scoop install hugo" for quick install on Windows Hugo on Chocolatey https://chocolatey.org/packages/hugo is still at 0.45 over a week after the 0.46 release, while Hugo on Scoop was updated to 0.46 on the day of its release. I discovered Scoop by chance earlier today in README.md of GitHub Hub, especially the removal of Chocolatey-related instructions due to Chocolatey's failure to update the hub package for over two years. See https://github.com/github/hub/commit/e3bf3bc9712b12e9222faafc94df3fd285c26bf3 --- content/en/getting-started/installing.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/en/getting-started/installing.md b/content/en/getting-started/installing.md index c08a22835..6b749d369 100644 --- a/content/en/getting-started/installing.md +++ b/content/en/getting-started/installing.md @@ -62,6 +62,14 @@ If you are on a Windows machine and use [Chocolatey][] for package management, y choco install hugo -confirm {{< /code >}} +### Scoop (Windows) + +If you are on a Windows machine and use [Scoop][] for package management, you can install Hugo with the following one-liner: + +{{< code file="install-with-scoop.ps1" >}} +snoop install hugo +{{< /code >}} + ### Source #### Prerequisite Tools @@ -500,6 +508,7 @@ Now that you've installed Hugo, read the [Quick Start guide][quickstart] and exp [quickstart]: /getting-started/quick-start/ [redhatforum]: https://discourse.gohugo.io/t/solved-fedora-copr-repository-out-of-service/2491 [releases]: https://github.com/gohugoio/hugo/releases +[Scoop]: https://scoop.sh/ [snaps]: http://snapcraft.io/docs/core/install [windowsarch]: https://esupport.trendmicro.com/en-us/home/pages/technical-support/1038680.aspx [Windows Environment Variables Editor]: http://eveditor.com/