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 e3bf3bc971
This commit is contained in:
Anthony Fok 2018-08-10 02:32:28 -06:00
parent 3037527fe5
commit c9cc7852cb
No known key found for this signature in database
GPG Key ID: EA2500B412C59ACF

View File

@ -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/