Bazel: How to uninstall Bazel

Created on 2 Feb 2016  Â·  6Comments  Â·  Source: bazelbuild/bazel

Hi!

I installed Bazel using the steps here http://bazel.io/docs/install.html.

But now I want to uninstall it. How do I go about doing that?

under investigation

Most helpful comment

rm -fr ~/.bazel ~/.bazelrc

On Tue, Feb 2, 2016 at 11:23 AM Jacob Hagstedt P Suorra <
[email protected]> wrote:

Hi!

I installed Bazel using the steps here http://bazelio/docs/installhtml

But now I want to uninstall it How do I go about doing that?

—
Reply to this email directly or view it on GitHub
https://github.com/bazelbuild/bazel/issues/838.

All 6 comments

rm -fr ~/.bazel ~/.bazelrc

On Tue, Feb 2, 2016 at 11:23 AM Jacob Hagstedt P Suorra <
[email protected]> wrote:

Hi!

I installed Bazel using the steps here http://bazelio/docs/installhtml

But now I want to uninstall it How do I go about doing that?

—
Reply to this email directly or view it on GitHub
https://github.com/bazelbuild/bazel/issues/838.

Be careful not to mixed up with that command. But it basically recursively remove ~/.bazel and ~/.bazelrc

Bazel also creates a directory at ~/.cache/bazel which you might want to remove (it may have been created at /tmp if it couldn't find your home directory, and on mac os it's /var/tmp)

Found it at ~/.cache/bazel! Thanks!

Also the executable in ~/bin

Also I found an executable of bazel in this path /usr/local/bin/bazel

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iirina picture iirina  Â·  3Comments

davidzchen picture davidzchen  Â·  3Comments

alexandrvb picture alexandrvb  Â·  3Comments

ttsugriy picture ttsugriy  Â·  3Comments

kastiglione picture kastiglione  Â·  3Comments