bazelbuild / bazelbuild/bazel

How to uninstall Bazel from Windows?

Open
#12,860 3 comments 0 reactions 0 assignees View on GitHub
help wanted P3 team-Documentation team-OSS type: documentation (cleanup)
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Description of the problem / feature request:

I used Bazel to install Tensorflow (from source) a few months ago. But I haven't really used it in quite a while and wanted to uninstall it.

Except, I don't know how to. It's taking up about 20GB of space on my system and I want to free it up.

I have a bazel.exe file in my system (I had a folder where I kept track of what I had to install to get a project running which required Tensorflow) so I think I probably used the Bazel binary from GitHub to install it.

Since it's on Windows, I don't want to mess things up by trying something out on my own so looking for help.

### What operating system are you running Bazel on?

Windows 10

### What's the output of `bazel info release`?

`ERROR: The 'info' command is only supported from within a workspace (below a directory having a WORKSPACE file).`

I ran `bazel version` and the build label is `0.26.1`.

### Have you found anything relevant by searching the web?

I have found threads/posts related to removing it on linux, but nothing on Windows as of now.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue's Windows 10 context and Bazel 0.26.1 details; no documentation file, test, or entry point is named. Done means providing or documenting safe Windows uninstall guidance that addresses Bazel's disk usage without relying on Linux-specific steps.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.