# llvm を Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, zypper, scoop, winget でインストール

llvm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:llvm
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install llvm
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add llvm
```

  証拠: Alpine Linux edge package indexes: llvm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install llvm
```

  証拠: Debian stable package indexes: llvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install llvm
```

  証拠: Fedora Rawhide package metadata: llvm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#llvm
```

  証拠: nixpkgs package indexes: llvm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S llvm
```

  証拠: Arch Linux sync databases: llvm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install llvm
```

  証拠: openSUSE Tumbleweed package metadata: llvm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install llvm
```

  証拠: Chocolatey community package catalog: llvm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lftp'

- Scoop (92%):

```sh
scoop install main/llvm
```

  証拠: Scoop official bucket manifest trees: bucket/llvm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id LLVM.LLVM -e
```

  証拠: Windows Package Manager source index: LLVM.LLVM from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:llvm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 22.1.8
- **ソース概要:** Next-gen compiler infrastructure
- **ホームページ:** <https://llvm.org/>
- **リポジトリ:** <https://github.com/llvm/llvm-project>
- **最終更新:** 2026-08-01T07:56:08+01:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- FileCheck (エイリアス)
- UnicodeNameMappingGenerator (エイリアス)
- amdgpu-arch (エイリアス)
- analyze-build (エイリアス)
- bugpoint (エイリアス)
- clang (エイリアス)
- clang++ (エイリアス)
- clang-22 (エイリアス)
- clang-apply-replacements (エイリアス)
- clang-change-namespace (エイリアス)
- clang-check (エイリアス)
- clang-cl (エイリアス)
- clang-cpp (エイリアス)
- clang-doc (エイリアス)
- clang-extdef-mapping (エイリアス)
- clang-format (エイリアス)
- clang-include-cleaner (エイリアス)
- clang-include-fixer (エイリアス)
- clang-installapi (エイリアス)
- clang-linker-wrapper (エイリアス)
- clang-move (エイリアス)
- clang-nvlink-wrapper (エイリアス)
- clang-offload-bundler (エイリアス)
- clang-offload-packager (エイリアス)
- clang-query (エイリアス)
- clang-refactor (エイリアス)
- clang-reorder-fields (エイリアス)
- clang-repl (エイリアス)
- clang-scan-deps (エイリアス)
- clang-sycl-linker (エイリアス)
- clang-tblgen (エイリアス)
- clang-tidy (エイリアス)
- clangd (エイリアス)
- count (エイリアス)
- diagtool (エイリアス)
- dsymutil (エイリアス)
- find-all-symbols (エイリアス)
- git-clang-format (エイリアス)
- hmaptool (エイリアス)
- intercept-build (エイリアス)
- llc (エイリアス)
- lldb (エイリアス)
- lldb-argdumper (エイリアス)
- lldb-dap (エイリアス)
- lldb-instr (エイリアス)
- lldb-mcp (エイリアス)
- lldb-server (エイリアス)
- lldb-tblgen (エイリアス)
- lli (エイリアス)
- lli-child-target (エイリアス)
- llvm-PerfectShuffle (エイリアス)
- llvm-addr2line (エイリアス)
- llvm-ar (エイリアス)
- llvm-as (エイリアス)
- llvm-bcanalyzer (エイリアス)
- llvm-bitcode-strip (エイリアス)
- llvm-c-test (エイリアス)
- llvm-cas (エイリアス)
- llvm-cat (エイリアス)
- llvm-cfi-verify (エイリアス)
- llvm-cgdata (エイリアス)
- llvm-config (エイリアス)
- llvm-cov (エイリアス)
- llvm-ctxprof-util (エイリアス)
- llvm-cvtres (エイリアス)
- llvm-cxxdump (エイリアス)
- llvm-cxxfilt (エイリアス)
- llvm-cxxmap (エイリアス)
- llvm-debuginfo-analyzer (エイリアス)
- llvm-debuginfod (エイリアス)
- llvm-debuginfod-find (エイリアス)
- llvm-diff (エイリアス)
- llvm-dis (エイリアス)
- llvm-dlltool (エイリアス)
- llvm-dwarfdump (エイリアス)
- llvm-dwarfutil (エイリアス)
- llvm-dwp (エイリアス)
- llvm-exegesis (エイリアス)
- llvm-extract (エイリアス)
- llvm-gsymutil (エイリアス)
- llvm-ifs (エイリアス)
- llvm-install-name-tool (エイリアス)
- llvm-ir2vec (エイリアス)
- llvm-jitlink (エイリアス)
- llvm-jitlink-executor (エイリアス)
- llvm-lib (エイリアス)
- llvm-libtool-darwin (エイリアス)
- llvm-link (エイリアス)
- llvm-lipo (エイリアス)
- llvm-lto (エイリアス)
- llvm-lto2 (エイリアス)
- llvm-mc (エイリアス)
- llvm-mca (エイリアス)
- llvm-ml (エイリアス)
- llvm-ml64 (エイリアス)
- llvm-modextract (エイリアス)
- llvm-nm (エイリアス)
- llvm-objcopy (エイリアス)
- llvm-objdump (エイリアス)
- llvm-offload-binary (エイリアス)
- llvm-offload-wrapper (エイリアス)
- llvm-opt-report (エイリアス)
- llvm-otool (エイリアス)
- llvm-pdbutil (エイリアス)
- llvm-profdata (エイリアス)
- llvm-profgen (エイリアス)
- llvm-ranlib (エイリアス)
- llvm-rc (エイリアス)
- llvm-readelf (エイリアス)
- llvm-readobj (エイリアス)
- llvm-readtapi (エイリアス)
- llvm-reduce (エイリアス)
- llvm-remarkutil (エイリアス)
- llvm-rtdyld (エイリアス)
- llvm-sim (エイリアス)
- llvm-size (エイリアス)
- llvm-split (エイリアス)
- llvm-stress (エイリアス)
- llvm-strings (エイリアス)
- llvm-strip (エイリアス)
- llvm-symbolizer (エイリアス)
- llvm-tblgen (エイリアス)
- llvm-test-mustache-spec (エイリアス)
- llvm-tli-checker (エイリアス)
- llvm-undname (エイリアス)
- llvm-windres (エイリアス)
- llvm-xray (エイリアス)
- mlir-cat (エイリアス)
- mlir-linalg-ods-yaml-gen (エイリアス)
- mlir-lsp-server (エイリアス)
- mlir-minimal-opt (エイリアス)
- mlir-minimal-opt-canonicalize (エイリアス)
- mlir-opt (エイリアス)
- mlir-pdll (エイリアス)
- mlir-pdll-lsp-server (エイリアス)
- mlir-query (エイリアス)
- mlir-reduce (エイリアス)
- mlir-rewrite (エイリアス)
- mlir-runner (エイリアス)
- mlir-tblgen (エイリアス)
- mlir-transform-opt (エイリアス)
- mlir-translate (エイリアス)
- modularize (エイリアス)
- not (エイリアス)
- nvptx-arch (エイリアス)
- obj2yaml (エイリアス)
- offload-arch (エイリアス)
- opt (エイリアス)
- pp-trace (エイリアス)
- reduce-chunk-list (エイリアス)
- run-clang-tidy (エイリアス)
- sancov (エイリアス)
- sanstats (エイリアス)
- scan-build (エイリアス)
- scan-build-py (エイリアス)
- scan-view (エイリアス)
- split-file (エイリアス)
- tblgen-lsp-server (エイリアス)
- tblgen-to-irdl (エイリアス)
- verify-uselistorder (エイリアス)
- yaml-bench (エイリアス)
- yaml2macho-core (エイリアス)
- yaml2obj (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 22.1.8
## プロジェクトの歴史と使われ方

LLVM is a modular compiler and toolchain infrastructure project packaged by Homebrew as the current llvm formula. It includes the LLVM core libraries and command-line tools, the Clang compiler frontend, LLDB debugger, LLD linker, libc++, MLIR tooling, and many smaller developer utilities.

### プロジェクトの歴史

LLVM began as a University of Illinois research project to provide a modern SSA-based compilation strategy for static and dynamic languages. The official LLVM homepage describes the project as a collection of modular and reusable compiler and toolchain technologies, with LLVM now functioning as a project name rather than an acronym for a virtual machine.

The project grew from core optimizer and code-generation libraries into an umbrella project. The official overview lists major subprojects such as Clang for C-family languages, LLDB for native debugging, LLD for linking, libc++ for the C++ standard library, Flang for Fortran, and MLIR infrastructure for compiler construction. The GitHub README describes the repository as source for compilers, optimizers, and run-time environments.

### 採用の歴史

LLVM became a package-manager staple because it is both an end-user toolchain and a dependency for other language runtimes, build systems, static analyzers, editor integrations, and cross-compilation stacks. The official homepage notes production use by commercial and open-source projects and continued academic use, which matches the broad package-manager coverage shown in the input metadata.

For Homebrew users, llvm is often installed to obtain a newer clang than Apple's system compiler, a full llvm-config and library stack, up-to-date linker and object-file tools, clang-format, clang-tidy, clangd, lldb, and architecture-specific utilities. Versioned Homebrew formulae such as llvm@14 through llvm@17 exist because downstream projects frequently need a stable ABI, code-generation behavior, or plugin API tied to a specific LLVM major release.

### 使われ方

Users install llvm to compile C, C++, Objective-C, and other LLVM-backed languages; run optimizer and code-generation tools such as opt and llc; inspect and transform object files with llvm-objdump, llvm-nm, llvm-ar, and llvm-strip; debug with lldb; format and analyze C-family source with clang-format, clang-tidy, and clangd; and build other packages that need llvm-config or LLVM libraries.

The package is also a build dependency for projects that embed LLVM as a library, generate LLVM IR, ship compiler plugins, or need MLIR and TableGen tooling. In package-manager culture, llvm is less a single command than a large toolchain substrate whose installed prefix can change the behavior of many builds.

### パッケージ好きにとっての重要性

LLVM is one of the most consequential developer-tool packages in Unix package managers: it provides compilers, linkers, debuggers, binary utilities, formatters, language servers, and libraries that other packages compile against. Its formula is watched closely because a major LLVM bump can reveal C++ standard-library issues, linker changes, sanitizer behavior changes, and downstream projects that accidentally depended on private compiler internals.

The package is also historically important because it displaced the idea that a system compiler was a monolith. LLVM's reusable libraries let package ecosystems build many language frontends, analyzers, and toolchain experiments on common optimizer and code-generation components.

### タイムライン

- 2000: LLVM begins as a University of Illinois research project.
- 2003: LLVM 1.0 is announced as an open compiler infrastructure release.
- 2011: The LLVM name is treated as the project brand rather than an acronym.
- 2016-12-07: The llvm/llvm-project monorepo is created on GitHub.
- 2019: LLVM 9.0.0 and later releases use Apache-2.0 WITH LLVM-exception licensing.
- 2022-03-23: LLVM 14.0.0 is published.
- 2022-09-06: LLVM 15.0.0 is published.
- 2023-03-17: LLVM 16.0.0 is published.
- 2023-09-19: LLVM 17.0.1 is published.

### Related projects

- Clang, LLDB, LLD, libc++, Flang, MLIR, compiler-rt, OpenMP, and polly are LLVM umbrella subprojects or closely shipped components.
- Projects such as Rust, Swift, Julia, Zig, Mesa, WebAssembly toolchains, and many static-analysis tools are common LLVM consumers in package-manager ecosystems.
- Homebrew's llvm@14, llvm@15, llvm@16, and llvm@17 formulae preserve older major release lines for packages that cannot immediately follow the current llvm formula.

### ソース

- <https://api.github.com/repos/llvm/llvm-project/releases>
- <https://github.com/llvm/llvm-project>
- <https://github.com/llvm/llvm-project#readme>
- <https://llvm.org/>
- <https://llvm.org/docs>
- <https://releases.llvm.org/>
- source_facts.package-manager


## セキュリティノート

compiler and toolchain runtime.

- **Geiger リスク:** yellow / 高
- compiler and toolchain runtime

## 他のパッケージマネージャ記録

- Debian apt - llvm - 1:19.0-63: normalized package name match | Debian stable package indexes: llvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Modular compiler and toolchain technologies
- Nix - llvm: normalized package name match | nixpkgs package indexes: llvm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - llvm - 1:18.0-59~exp2: normalized package name match | Ubuntu 24.04 LTS package indexes: llvm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Low-Level Virtual Machine (LLVM)
- apk - llvm - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Low Level Virtual Machine compiler system, default version. | https://llvm.org/
- apk - llvm-dev - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Low Level Virtual Machine compiler system, default version. | https://llvm.org/
- apk - llvm-gtest - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm-gtest from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LLVM default gtest static libraries | https://llvm.org/
- apk - llvm-libs - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LLVM 22 runtime library | https://llvm.org/
- apk - llvm-linker-tools - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm-linker-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Low Level Virtual Machine compiler system, default version. (linker plugins) | https://llvm.org/
- apk - llvm-static - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LLVM 22 static libraries | https://llvm.org/
- apk - llvm-test-utils - 22-r0: normalized package name match | Alpine Linux edge package indexes: llvm-test-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LLVM utilities for executing LLVM and Clang style test suites | https://llvm.org/
- dnf - clang - 22.1.8-20.fc45: normalized package name match | Fedora Rawhide package metadata: clang from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A C language family front-end for LLVM | http://llvm.org
- dnf - clang-analyzer - 22.1.8-20.fc45: normalized package name match | Fedora Rawhide package metadata: clang-analyzer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A source code analysis framework | http://llvm.org
- dnf - clang-devel - 22.1.8-20.fc45: normalized package name match | Fedora Rawhide package metadata: clang-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development header files for clang | http://llvm.org
- dnf - clang-libs - 22.1.8-20.fc45: normalized package name match | Fedora Rawhide package metadata: clang-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Runtime library for clang | http://llvm.org
- dnf - clang-resource-filesystem - 22.1.8-20.fc45: normalized package name match | Fedora Rawhide package metadata: clang-resource-filesystem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Filesystem package that owns the clang resource directory | http://llvm.org
- dnf - clang-tools-extra - 22.1.8-20.fc45: normalized package name match | Fedora Rawhide package metadata: clang-tools-extra from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Extra tools for clang | http://llvm.org


## Combined YAML source

View the package source record on GitHub. [combined/llvm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/llvm.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
