Repository: bazelbuild/bazel
Issue: Installation Bazel using Scoop package manager on Windows
Labels: type: feature request
type: documentation (cleanup)
P4
platform: windows
area-Windows
team-OSS

### Description of the problem / feature request:

Hi.

I'm maintaining Bazel Scoop package. Can you add it to this page?
https://docs.bazel.build/versions/master/install-windows.html

Scoop is Windows package manager, it is like Chocolatey, but it is completely free and more developer-specific (and [more](https://github.com/lukesampson/scoop/wiki/Chocolatey-Comparison)).

The recipe is as follows:
```
scoop bucket add user https://github.com/excitoon/scoop-user.git
scoop bucket add versions
scoop install user/bazel
```
P.S.  `versions` repository is needed because Bazel depends on Python 2.

Kind regards,
Vladimir.

### Feature requests: what underlying problem are you trying to solve with this feature?

That will improve convenience of installing Bazel on Windows.

Issue comments:
@laszlocsomor wdyt?
I think we can add it!
@excitoon : Would you mind sending a PR with the documentation changes? I'd be happy to review it.
@laszlocsomor Okay, I just didn't know you have documentation in github as well. I'll make that PR soon.
Thanks! Yes, the files are under https://github.com/bazelbuild/bazel/tree/master/site/docs
@excitoon : Are you still interested in adding the links?
Yeah I do. Looks like guys successfully made proper versions for Bazel dependencies (for example common zip.exe for windows did not worked way Bazel expected) in lukesampson/scoop#2187. And now we can add it even without custom repository:
```
scoop install bazel
```
I'll check everything works fine here: https://github.com/excitoon/scoop-bazel-test and continue after that.
@laszlocsomor One more thing: bazelbuild/continuous-integration#502 .

Pull request review comments:
Cool! Do you have any information about maintenance as well? E.g. how does one update the package after a Bazel release?

Also, do you plan to own this package? If so, could you please add info about that here, so if there are questions about the Scoop package, people know whom to ask?
ping
@laszlocsomor Yes, I periodically update Bazel version in the Scoop. What kind of contact would be okay? E-mail? Telegram?
Great! Yes, whichever works best for you. :)
I've made a guide. Can you please check if everything is fine?
https://github.com/bazelbuild/bazel-website/pull/173
LGTM. Thanks again!
I'll import this PR now.

Patch that resolved the issue:
diff --git a/site/docs/install-windows.md b/site/docs/install-windows.md
index f390995a3f3f8f..10dedc3023b10a 100644
--- a/site/docs/install-windows.md
+++ b/site/docs/install-windows.md
@@ -48,6 +48,7 @@ title: Installing Bazel on Windows
 ### Other ways to get Bazel
 
 *   [Install Bazel using the Chocolatey package manager](#install-using-chocolatey)
+*   [Install Bazel using the Scoop package manager](#install-using-scoop)
 *   [Compile Bazel from source](install-compile-source.html)
 
 #### Install using Chocolatey
@@ -66,6 +67,20 @@ See [Chocolatey installation and package maintenance
 guide](https://bazel.build/windows-chocolatey-maintenance.html) for more
 information about the Chocolatey package.
 
+#### Install using Scoop
+
+1.  Install the [Scoop](https://scoop.sh/) package manager using PowerShell command:
+
+        iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
+
+2.  Install the Bazel package:
+
+        scoop install bazel
+
+See [Scoop installation and package maintenance
+guide](https://bazel.build/windows-scoop-maintenance.html) for more
+information about the Scoop package.
+
 ### Using Bazel
 
 Once you have installed Bazel, see [Using Bazel on Windows](windows.html).


Test patch: