> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-29809.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Maintaining Bazel Scoop package on Windows

Note: The Scoop package is experimental. To provide feedback, go to
`@excitoon` in issue tracker.

<h2 id="prerequisites">
  Prerequisites
</h2>

You need:

* [Scoop package manager](https://scoop.sh/) installed
* GitHub account in order to publish and create pull requests to
  [scoopinstaller/scoop-main](https://github.com/scoopinstaller/scoop-main)
  * [@excitoon](https://github.com/excitoon) currently maintains this
    unofficial package. Feel free to ask questions by
    [e-mail](mailto:vladimir.chebotarev@gmail.com) or
    [Telegram](http://telegram.me/excitoon).

<h2 id="release-process">
  Release process
</h2>

Scoop packages are very easy to maintain. Once you have the URL of released
Bazel, you need to make appropriate changes in
[this file](https://github.com/scoopinstaller/scoop-main/blob/master/bucket/bazel.json):

* update version
* update dependencies if needed
* update URL
* update hash (`sha256` by default)

In your filesystem, `bazel.json` is located in the directory
`%UserProfile%/scoop/buckets/main/bucket` by default. This directory belongs to
your clone of a Git repository
[scoopinstaller/scoop-main](https://github.com/scoopinstaller/scoop-main).

Test the result:

```
scoop uninstall bazel
scoop install bazel
bazel version
bazel something_else
```

The first time, make a fork of
[scoopinstaller/scoop-main](https://github.com/scoopinstaller/scoop-main) and
specify it as your own remote for `%UserProfile%/scoop/buckets/main`:

```
git remote add mine FORK_URL
```

Push your changes to your fork and create a pull request.
