Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, apk, chocolatey, dnf, Nix, pacman, scoop, winget, zypper 安装 llvm@17

查看 llvm@17 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install llvm@17

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install llvm-17

MacPorts ports tree · lang/llvm-17/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install llvm-17

Debian stable package indexes · llvm-17 · 来源: deb.debian.org

Alpine Linux apk已验证 · 92%
sudo apk add llvm

Alpine Linux edge package indexes · llvm · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install clang

Fedora Rawhide package metadata · clang · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#llvm

nixpkgs package indexes · llvm · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S llvm

Arch Linux sync databases · llvm · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install clang

openSUSE Tumbleweed package metadata · clang · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install llvm

Chocolatey community package catalog · llvm · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/llvm

Scoop official bucket manifest trees · bucket/llvm.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id LLVM.LLVM -e

Windows Package Manager source index · LLVM.LLVM · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Next-gen compiler infrastructure

命令和别名

  • clang-17

历史

项目历史与用法

llvm@17 is Homebrew's versioned formula for the LLVM 17 release line, providing a pinned major version of LLVM's compiler infrastructure, Clang, LLDB, LLD, and related developer tools.

项目历史

LLVM 17 is a later release of the LLVM umbrella project, which the official homepage describes as modular and reusable compiler and toolchain technologies. The versioned Homebrew formula preserves that release line after the unversioned llvm package advances.

LLVM 17 is a key endpoint in the opaque-pointer migration documented by LLVM. The official opaque-pointer guide says LLVM 17 supports only opaque pointers and no longer supports typed pointers, following the staged transition through LLVM 14, 15, and 16.

采用历史

Package ecosystems adopted llvm@17 and llvm-17 style packages both for users who wanted a modern LLVM stack and for downstream projects that had completed the opaque-pointer migration but still needed to pin a major version. The input metadata shows package mappings for Homebrew, MacPorts, Debian/Ubuntu llvm-17, Chocolatey, Nix, Scoop, winget clangd, and other ecosystems.

The existence of llvm@17 alongside newer unversioned LLVM packages reflects a normal toolchain maintenance pattern: major compiler upgrades are valuable, but downstream projects need time to validate generated code, diagnostics, sanitizer behavior, C++ APIs, and plugin compatibility.

使用方式

Users install llvm@17 for clang-17, LLVM 17 libraries and headers, llvm-config, FileCheck, LLDB and LLD tools where included, MLIR tools, clangd, clang-format, clang-tidy, and the broad LLVM utility suite.

It is a good pinned target for projects that have already adapted to opaque pointers and want a stable LLVM 17 build dependency rather than tracking the current Homebrew llvm formula.

为什么软件包爱好者会关心

llvm@17 matters because it packages the first release line in which the opaque-pointer migration is complete from the user's point of view. For maintainers, failures against llvm@17 often mean a real dependency on old typed-pointer APIs or IR assumptions remains.

As a versioned formula, it also keeps package graphs reproducible. A compiler major version is a platform contract, and llvm@17 lets formula authors choose that contract explicitly.

时间线

  • 2000: LLVM begins as a University of Illinois compiler research project.
  • 2023-09-19: LLVM 17.0.1 is published on GitHub.
  • 2023: LLVM 17 supports only opaque pointers; typed pointers are no longer supported.
  • 2023-2024: Package managers add or retain llvm-17 packages for downstream compatibility and reproducible builds.
  • 2024 onward: llvm@17 remains useful for packages pinned to LLVM 17 while the unversioned llvm formula advances.

Related projects

  • LLVM 17 ships with Clang 17, LLDB 17, LLD 17, libc++, compiler-rt, MLIR, OpenMP, and related LLVM tools.
  • It follows llvm@16 in the opaque-pointer migration and precedes later unversioned LLVM formula generations.

安全态势

尚未找到受保护工具覆盖

没有找到 llvm@17 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clang-17cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本17.0.6
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/llvm/llvm-project

安装元数据

软件包元数据

软件包键brew:llvm@17
版本17.0.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/llvm@17
主页https://llvm.org/
仓库https://github.com/llvm/llvm-project
上游文档https://llvm.org/docs
许可证Apache-2.0 WITH LLVM-exception
源码归档https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/llvm-project-17.0.6.src.tar.xz
最后更新2026-06-25T13:37:49+02:00
Pulseupdated
依赖zstd
构建依赖cmake, ninja, python@3.14
macOS 提供的库libedit, libffi, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项To use the bundled libc++ please add the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@17/lib/c++ -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm@17/lib/c++"

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namellvm@17
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

llvm-17 1:17.0.6-22+b2

Modular compiler and toolchain technologies

https://www.llvm.org/

sudo apt install llvm-17
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-17
  • 11 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Llvm 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: llvm-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

llvm-17 1:17.0.6-9ubuntu1

Modular compiler and toolchain technologies

https://www.llvm.org/

sudo apt install llvm-17
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-17
  • 11 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Llvm 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: llvm-17 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

llvm-17

sudo port install llvm-17
  • normalized package name match
  • 匹配方式:Llvm 17
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/llvm-17/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

clang-17 1:17.0.6-22+b2

C, C++ and Objective-C compiler

https://www.llvm.org/

sudo apt install clang-17
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-17
  • 12 依赖
  • 3 提供
  • 4 可选依赖
  • installed executable or alias match
  • 匹配方式:Clang 17
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clang-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

clang-17 1:17.0.6-9ubuntu1

C, C++ and Objective-C compiler

https://www.llvm.org/

sudo apt install clang-17
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-17
  • 13 依赖
  • 3 提供
  • 4 可选依赖
  • installed executable or alias match
  • 匹配方式:Clang 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clang-17 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Debian apt88%

llvm 1:19.0-63

Modular compiler and toolchain technologies

sudo apt install llvm
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 2 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: llvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix88%

llvm

nix profile install nixpkgs#llvm
  • versioned package alias match
  • 匹配方式:Llvm
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: llvm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt88%

llvm 1:18.0-59~exp2

Low-Level Virtual Machine (LLVM)

sudo apt install llvm
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 2 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: llvm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk88%

llvm 22-r0

Low Level Virtual Machine compiler system, default version.

https://llvm.org/

sudo apk add llvm
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • 1 提供
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-dev 22-r0

Low Level Virtual Machine compiler system, default version.

https://llvm.org/

sudo apk add llvm-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • 1 提供
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-gtest 22-r0

LLVM default gtest static libraries

https://llvm.org/

sudo apk add llvm-gtest
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-gtest from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-libs 22-r0

LLVM 22 runtime library

https://llvm.org/

sudo apk add llvm-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-linker-tools 22-r0

Low Level Virtual Machine compiler system, default version. (linker plugins)

https://llvm.org/

sudo apk add llvm-linker-tools
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-linker-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-static 22-r0

LLVM 22 static libraries

https://llvm.org/

sudo apk add llvm-static
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-test-utils 22-r0

LLVM utilities for executing LLVM and Clang style test suites

https://llvm.org/

sudo apk add llvm-test-utils
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • 1 提供
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-test-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf88%

clang 22.1.7-1.fc45

A C language family front-end for LLVM

http://llvm.org

sudo dnf install clang
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm
  • 9 依赖
  • 1 提供
  • versioned package alias match
  • 匹配方式:Llvm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clang from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment