bazel: command not found

2,517 views
Skip to first unread message

roman....@gmail.com

unread,
Mar 4, 2018, 1:26:37 PM3/4/18
to bazel-discuss
First of all, as it comes to Bazel I´m a total noob, so pls no hate :)
I followed your instructions "Installing/ Using Bazel on Windows". I'm supposed to download the binary file from your release page which provides several different download versions. I tried with "Source Code (zip)".
I assume the "command not found" error has something to do with not setting up the system environment variable "path" correctly. I suppose the path variable should point to the binary (bin) folder? But where can I find it?

Best regards,

Fabian

László Csomor

unread,
Mar 5, 2018, 7:45:01 AM3/5/18
to roman....@gmail.com, bazel-discuss
Hi Fabian,

Welcome to the Bazel community!

You downloaded the source code of Bazel, which we call the "distribution archive". It's a zip file with the sources of Bazel, and a script that can compile it all. This is useful for those who want to build Bazel on a platform that we don't release pre-built binaries for.

Although you can also build Bazel from sources on Windows (after you install some additional software [3]), there's an easier way: download the pre-built Bazel binary [1] or use the Chocolatey package manager to install Bazel.

A few hours ago I rewrote the docs about how to install Bazel on Windows, so you may want to take another look at that [2].
Bazel needs some additional software to do its job, so make sure your system meets these requirements [3].

Happy building!



Cheers,
Laszlo

--
László Csomor | Software Engineer | laszlo...@google.com

Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado


--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/8ea8dbe0-83f2-49fe-9011-4e70980acaae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages