llvm@20
PopularFormula Development v20.1.8
Next-gen compiler infrastructure
About
Install llvm@20 on macOS with Homebrew Formula using `brew install llvm@20`. llvm@20 is a Development command-line package with version 20.1.8. The package is listed in homebrew/core.
Install 1 App in Terminal
$
brew install llvm@20
Dependencies
Build Dependencies
Installation Notes
CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang CLANG_CONFIG_FILE_USER_DIR: ~/.config/clang LLD is now provided in a separate formula: brew install lld@20 Using `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`. If you don't want to install the CLT, you can write appropriate configuration files pointing to your SDK at ~/.config/clang. To use the bundled libunwind please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@20/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@20/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@20/lib/unwind -lunwind" NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.
Official Homebrew Stats
Install activity metrics for llvm@20.
30 Days
2.2K total installs
72 installs / day avg
90 Days
9.1K total installs
101 installs / day avg
1 Year
116.1K total installs
318 installs / day avg
Frequently asked questions
How do I install llvm@20 with Homebrew?
Run brew install llvm@20 in Terminal to install llvm@20 as a Homebrew formula on macOS.
What kind of package is llvm@20?
llvm@20 is a Development Homebrew formula and FastBrew currently shows version 20.1.8.
What should I review before installing llvm@20?
Review the runtime dependencies (zstd) and build dependencies (cmake, ninja, python@3.14) along with any caveats before installing.
Related Development Apps
View allOpen node
node
Popular
Open-source, cross-platform JavaScript runtime environment
Development v26.7.0
Open pcre2
pcre2
Popular
Perl compatible regular expressions library with a new API
Development v10.47