# 使用 Homebrew, Nix, scoop 安装 linkerd

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

## 安装

```sh
sudo av install brew:linkerd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install linkerd
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#linkerd
```

  证据: nixpkgs package indexes: linkerd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Scoop (92%):

```sh
scoop install extras/linkerd
```

  证据: Scoop official bucket manifest trees: bucket/linkerd.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:linkerd
- **软件包管理器:** Homebrew
- **版本:** 2.20
- **来源摘要:** Command-line utility to interact with linkerd
- **主页:** <https://linkerd.io>
- **仓库:** <https://github.com/linkerd/linkerd2>
- **最后更新:** 2026-06-23T00:33:51Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- linkerd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.20
## 项目历史与用法

Linkerd is a Kubernetes-focused service mesh and CLI for adding observability, reliability, and security features to service-to-service traffic without changing application code. The Homebrew package supplies the linkerd command used to install, inspect, and operate the mesh.

### 项目历史

Linkerd came from Buoyant's work on production microservice reliability. Linkerd's 2017 CNCF announcement says it was created by Buoyant founders William Morgan and Oliver Gould in 2015 and built on ideas from Twitter's Finagle library; CNCF's 2021 graduation announcement describes the project as created by Buoyant in 2016.

The first CNCF donation was Linkerd 1. Linkerd's own historical note distinguishes that donated project from Linkerd 2, the later Kubernetes-oriented line with a Rust-based data plane proxy. The Linkerd architecture documentation describes Linkerd2-proxy as an ultralight transparent micro-proxy written in Rust and designed specifically for service-mesh sidecar use.

### 采用历史

Linkerd joined CNCF on January 24, 2017 as the foundation's fifth hosted project, alongside early cloud-native infrastructure projects such as Kubernetes and Prometheus. CNCF announced Linkerd graduation on July 28, 2021, calling it the first service mesh project to reach graduated status and naming production adopters including Microsoft, Nordstrom, Expedia, JPMC, Clover Health, Entain, and H-E-B.

The service mesh category grew quickly around Kubernetes operations. Linkerd's position was shaped by a deliberately small operational surface, a service-mesh-specific proxy rather than a general-purpose proxy, and CLI-first workflows for checking cluster health, injecting workloads, and inspecting traffic.

### 使用方式

The package is used by cluster operators and platform engineers to install Linkerd components, validate a cluster, inject workloads, inspect routes and metrics, and manage mesh extensions. It is usually paired with kubectl and Kubernetes manifests rather than used as a standalone network daemon.

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

Linkerd is significant because it packages a whole distributed control-plane workflow behind a single CLI. For package managers, that means the local binary is only the front door: the installed command coordinates CRDs, proxies, mTLS identity, metrics, and Kubernetes resources that live elsewhere.

### 时间线

- 2015-2016: Buoyant created Linkerd for cloud-native service communication and reliability.
- 2017-01-24: CNCF accepted Linkerd as its fifth hosted project.
- 2018-04-06: CNCF moved Linkerd to the Incubating maturity level.
- 2021-07-28: CNCF announced Linkerd graduation.
- Linkerd 2 era: the project centered on Kubernetes and the Rust Linkerd2-proxy data plane.

### Related projects

- Related projects include Kubernetes, Finagle, Linkerd2-proxy, Prometheus, OpenTracing, Fluentd, Envoy, and other service-mesh projects such as Istio.

### 来源

- <https://linkerd.io/2-edge/reference/architecture/>
- <https://linkerd.io/2017/01/24/linkerd-joins-the-cloud-native-computing-foundation/>
- <https://linkerd.io/2020/07/23/under-the-hood-of-linkerds-state-of-the-art-rust-proxy-linkerd2-proxy/>
- <https://www.cncf.io/announcements/2021/07/28/cloud-native-computing-foundation-announces-linkerd-graduation/>
- <https://www.cncf.io/projects/linkerd/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - linkerd: normalized package name match | nixpkgs package indexes: linkerd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Scoop - extras/linkerd: normalized package name match | Scoop official bucket manifest trees: bucket/linkerd.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/linkerd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/linkerd.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
