−Table of Contents
brew install bazel
Return to Bazel, Bazel Installation, brew install, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, choco install baze
macOS
brew search bazel
=⇒ Formulae
bazel bazelisk babel blaze babeld
=⇒ Casks
hazel
iMac ~ % brew install bazel
=⇒ Downloading https://ghcr.io/v2/homebrew/core/openjdk/11/manifests/11.0.16.1_
=⇒ Downloading https://ghcr.io/v2/homebrew/core/openjdk/11/blobs/sha256:938120c
=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
=⇒ Downloading https://ghcr.io/v2/homebrew/core/bazel/manifests/5.3.2
=⇒ Downloading https://ghcr.io/v2/homebrew/core/bazel/blobs/sha256:f3fa6eeb3cde
=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
=⇒ Installing dependencies for bazel: openjdk@11
=⇒ Installing bazel dependency: openjdk@11
=⇒ Pouring openjdk@11–11.0.16.1_1.monterey.bottle.tar.gz
🍺 /usr/local/Cellar/openjdk@11/11.0.16.1_1: 678 files, 298.8MB
=⇒ Installing bazel
=⇒ Pouring bazel–5.3.2.monterey.bottle.tar.gz
=⇒ Caveats
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
=⇒ Summary
🍺 /usr/local/Cellar/bazel/5.3.2: 9 files, 33.3MB
=⇒ Running `brew cleanup bazel`…
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
=⇒ Caveats
=⇒ bazel
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
iMac ~ % bazel --version
bazel 5.3.2-homebrew
iMac ~ % bazel --help
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
Extracting Bazel installation…
[bazel release 5.3.2-homebrew]Usage: bazel <command> <options> …
Available commands:
analyze-profile Analyzes build profile data. aquery Analyzes the given targets and queries the action graph. build Builds the specified targets. canonicalize-flags Canonicalizes a list of bazel options. clean Removes output files and optionally stops the server. coverage Generates code coverage report for specified test targets. cquery Loads, analyzes, and queries the specified targets w/ configurations. dump Dumps the internal state of the bazel server process. fetch Fetches external repositories that are prerequisites to the targets. help Prints help for commands, or the index. info Displays runtime info about the bazel server. license Prints the license of this software. mobile-install Installs targets to mobile devices. print_action Prints the command line args for compiling a file.
query Executes a dependency graph query. run Runs the specified target. shutdown Stops the bazel server. sync Syncs all repositories specified in the workspace file test Builds and runs the specified test targets. version Prints version information for bazel.
Getting more help:
bazel helpPrints help and options for . bazel help startup_options Options for the JVM hosting bazel. bazel help target-syntax Explains the syntax for specifying targets. bazel help info-keys Displays a list of keys used by the info command.
Linux
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.
Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)