You can install the unofficial package using the chocolatey package manager:
choco install bazel
This will install the latest available version of bazel, and dependencies.
This package is experimental; please provide feedback (@petemounce in issue tracker).
You need:
bazel packagechoco apikey -k <your key here> -s https://chocolatey.org/Compile bazel with msys2 shell and compile.sh.
pushd scripts/packages/chocolatey ./build.ps1 -version 0.3.1 -isRelease popd
Should result in scripts/packages/chocolatey/bazel.<version>.nupkg being created.
isRelease)python -m SimpleHTTPServer in scripts/packages/chocolatey is convenient and starts one on http://localhost:8000)chocolateyinstall.ps1 so that the $url and $url64 parameters point to http://localhost:8000/bazel_0.3.1_windows_x86_64.zipTest the install
The test.ps1 should install the package cleanly (and error if it did not install cleanly), then tell you what to do next.
In a new (msys2) shell
bazel version
should result in that version, with executable from PATH.
Test the uninstall
choco uninstall bazel # should remove bazel from the system - c:/tools/bazel should be deleted
Chocolatey's moderation process automates checks here.
choco push bazel.x.y.z.nupkg --source https://chocolatey.org/
Chocolatey.org will then run automated checks and respond to the push via email to the maintainers.