# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, scoop, winget 安装 helm

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

## 安装

```sh
sudo av install brew:helm
```

## 代理安全回答

helm manages Kubernetes release state and can deploy workloads into clusters.

- **凭据访问:** Uses kubeconfig, cluster tokens, chart repository credentials, and values files that may contain secrets.
- **远程变更:** Can install, upgrade, rollback, or delete cluster releases.
- **发布/制品风险:** Can package charts and deploy application artifacts to production clusters.
- **推荐控制:** Gate helm install, upgrade, rollback, uninstall, and repo credential changes.
- **代理使用指南:** Allow template/lint reads; require approval before any cluster mutation or chart publication.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install helm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install helm
```

  证据: MacPorts ports tree: sysutils/helm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add helm
```

  证据: Alpine Linux edge package indexes: helm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install helm
```

  证据: Fedora Rawhide package metadata: helm 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#helm
```

  证据: nixpkgs package indexes: pkgs/by-name/he/helm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S helm
```

  证据: Arch Linux sync databases: helm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install helm
```

  证据: openSUSE Tumbleweed package metadata: helm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install elpa-helm
```

  证据: Debian stable package indexes: elpa-helm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Scoop (92%):

```sh
scoop install main/helm
```

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

- winget (92%):

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

  证据: Windows Package Manager source index: Helm.Helm from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:helm
- **软件包管理器:** Homebrew
- **版本:** 4.2.3
- **来源摘要:** Kubernetes package manager
- **主页:** <https://helm.sh/>
- **仓库:** <https://github.com/helm/helm>
- **最后更新:** 2026-07-09T22:27:01Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- helm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Helm is the Kubernetes package manager. Its documentation defines charts as Helm packages, repositories as places where charts are collected and shared, and releases as chart instances installed into a Kubernetes cluster.

Helm is historically important because it brought package-manager ideas such as repositories, installable archives, dependency metadata, upgrades, rollbacks, and release history into Kubernetes application delivery.

### 项目历史

The Helm project traces its first version to November 2015 at the first KubeCon. The Helm team describes Helm 1, also known as Helm Classic, as modeled on Homebrew and aimed at helping individual developers package Kubernetes resources and deploy them into clusters.

In January 2016, Deis' Helm team joined forces with Google, Skippbox, and Bitnami to build a new version focused on teams and a growing Kubernetes user community. That work led to the Helm 2 architecture and the chart ecosystem that many Kubernetes users adopted.

Helm joined the Cloud Native Computing Foundation in June 2018. Helm 3 reached its first stable release in November 2019, removing Tiller, refactoring the Go SDK for broader use, and changing internals while preserving the chart-centered workflow for users familiar with Helm 2.

### 采用历史

Helm adoption tracked the growth of Kubernetes itself. Its docs describe chart repositories, `helm search`, `helm install`, `helm upgrade`, `helm rollback`, `helm get`, and `helm uninstall` as ordinary package operations for cluster workloads.

The Helm 3 release post describes a large contributor base and thousands of community members maintaining charts through Helm Hub-era infrastructure. The chart discovery story later centered on Artifact Hub, which the Helm docs use for `helm search hub`.

Package-manager adoption for the CLI is broad: the supplied metadata lists Homebrew, Alpine, Fedora, MacPorts, Nix, Arch, Scoop, winget, and openSUSE packaging for the Kubernetes-oriented Helm CLI.

### 使用方式

Users add chart repositories, search for charts, install a chart as a named release, pass values with YAML files or `--set`, upgrade releases, inspect status and values, roll back revisions, and uninstall releases.

Helm charts package Kubernetes resource definitions alongside metadata and default values. A chart can be installed many times into a cluster, producing separate releases with their own names and histories.

Helm's local repository configuration is stored in `repositories.yaml` under the user's Helm config directory. Because repository entries can include credentials, that file is also treated as a credentials location in the curation data.

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

Helm is one of the clearest examples of package-manager culture crossing into infrastructure. It has packages, repositories, dependency declarations, install and upgrade verbs, versioned releases, rollback history, and a registry/discovery ecosystem, but the installed artifacts are Kubernetes resources rather than files under `/usr`.

The Helm 2 to Helm 3 transition is also package-history material: removing Tiller reduced cluster-side moving parts and aligned Helm more closely with Kubernetes RBAC and client-side release management expectations.

For maintainers, Helm created a new packaging discipline around chart metadata, values schema, generated documentation, provenance, OCI distribution, and chart repository layout.

### 时间线

- 2015: Helm 1 released at the first KubeCon.
- 2016: Deis, Google, Skippbox, and Bitnami collaborate on the next Helm generation.
- 2018: Helm joins the Cloud Native Computing Foundation.
- 2019: Helm 3.0.0 stable release published.
- 2020: Helm celebrates CNCF graduation.
- 2020s: Helm chart discovery and search workflows use Artifact Hub in official documentation.

### Related projects

- Kubernetes is the deployment platform Helm packages target.
- Homebrew inspired Helm Classic's package-manager model.
- Deis, Google, Skippbox, and Bitnami are named in the Helm 3 history as early collaborators.
- Artifact Hub is the chart discovery service used by `helm search hub`.
- helm-docs and helm-ls are neighboring tools for chart documentation and editor assistance.

### 来源

- <https://api.github.com/repos/helm/helm>
- <https://github.com/helm/helm>
- <https://helm.sh/blog/celebrating-helms-cncf-graduation/>
- <https://helm.sh/blog/helm-3-released/>
- <https://helm.sh/docs>
- <https://helm.sh/docs/intro/using_helm/>
- <https://helm.sh/docs/topics/charts/>


## 安全说明

Kubernetes package manager.

- **Geiger 风险:** orange / 高
- Kubernetes package manager


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- macOS: ~/Library/Preferences/helm/repositories.yaml
- Unix: ~/.config/helm/repositories.yaml

## Credential files

- macOS: ~/Library/Preferences/helm/repositories.yaml
- Unix: ~/.config/helm/repositories.yaml
## 其他软件包管理器记录

- Debian apt - elpa-helm - 4.0.3-1: normalized package name match | Debian stable package indexes: elpa-helm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Emacs incremental completion and selection narrowing framework | https://emacs-helm.github.io/helm/
- Debian apt - elpa-helm-core - 4.0.3-1: normalized package name match | Debian stable package indexes: elpa-helm-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Emacs Helm library files | https://emacs-helm.github.io/helm/
- Nix - helm: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/helm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - elpa-helm - 3.8.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: elpa-helm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Emacs incremental completion and selection narrowing framework | https://emacs-helm.github.io/helm/
- Ubuntu apt - elpa-helm-core - 3.8.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: elpa-helm-core from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Emacs Helm library files | https://emacs-helm.github.io/helm/
- apk - helm - 3.19.0-r8: normalized package name match | Alpine Linux edge package indexes: helm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Kubernetes Package Manager | https://helm.sh/
- apk - helm-bash-completion - 3.19.0-r8: normalized package name match | Alpine Linux edge package indexes: helm-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for helm | https://helm.sh/
- apk - helm-fish-completion - 3.19.0-r8: normalized package name match | Alpine Linux edge package indexes: helm-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for helm | https://helm.sh/
- apk - helm-zsh-completion - 3.19.0-r8: normalized package name match | Alpine Linux edge package indexes: helm-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for helm | https://helm.sh/
- dnf - helm - 4.2.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: helm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The Kubernetes Package Manager | https://github.com/helm/helm
- pacman - helm - 4.2.2-1: normalized package name match | Arch Linux sync databases: helm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Kubernetes Package Manager | https://github.com/helm/helm
- zypper - helm - 4.2.3-4.1: normalized package name match | openSUSE Tumbleweed package metadata: helm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The Kubernetes Package Manager | https://github.com/helm/helm
- zypper - helm-bash-completion - 4.2.3-4.1: normalized package name match | openSUSE Tumbleweed package metadata: helm-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for helm | https://github.com/helm/helm
- zypper - helm-fish-completion - 4.2.3-4.1: normalized package name match | openSUSE Tumbleweed package metadata: helm-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for helm | https://github.com/helm/helm
- zypper - helm-zsh-completion - 4.2.3-4.1: normalized package name match | openSUSE Tumbleweed package metadata: helm-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for helm | https://github.com/helm/helm
- zypper - helm3 - 3.21.3-4.1: normalized package name match | openSUSE Tumbleweed package metadata: helm3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The Kubernetes Package Manager | https://github.com/helm/helm


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
