# 使用 Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop, winget 安装 pulumi

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

## 安装

```sh
sudo av install brew:pulumi
```

## 代理安全回答

pulumi is an infrastructure-as-code CLI that can mutate cloud resources from local state and credentials.

- **凭据访问:** Reads cloud credentials, Pulumi tokens, stack config, and secret providers.
- **远程变更:** Can create, update, and destroy cloud infrastructure.
- **发布/制品风险:** Can deploy application infrastructure and write stack outputs.
- **推荐控制:** Gate pulumi up, destroy, refresh with writes, and config secret changes.
- **代理使用指南:** Allow preview only by default; require approval for any state-changing operation.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pulumi
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pulumi
```

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

### Linux

- apk (92%):

```sh
sudo apk add pulumi
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#pulumi
```

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

- pacman (92%):

```sh
sudo pacman -S pulumi
```

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

### Windows

- Chocolatey (92%):

```sh
choco install pulumi
```

  证据: Chocolatey community package catalog: pulumi from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','processing'

- Scoop (92%):

```sh
scoop install main/pulumi
```

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

- winget (92%):

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

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

## 软件包事实

- **软件包键:** brew:pulumi
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pulumi>
- **版本:** 3.255.0
- **来源摘要:** Cloud native development platform
- **主页:** <https://www.pulumi.com/>
- **仓库:** <https://github.com/pulumi/pulumi>
- **上游文档:** <https://www.pulumi.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/pulumi/pulumi.git>
- **最后更新:** 2026-07-28T14:14:34Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pulumi (cli)
- pulumi-language-bun (cli)
- pulumi-language-dotnet (cli)
- pulumi-language-go (cli)
- pulumi-language-java (cli)
- pulumi-language-nodejs (cli)
- pulumi-language-pcl (cli)
- pulumi-language-python (cli)
- pulumi-language-python-exec (cli)
- pulumi-language-yaml (cli)
- pulumi-resource-pulumi-nodejs (cli)
- pulumi-resource-pulumi-python (cli)
- pulumi-watch (cli)
- pulumi (别名)
- pulumi-language-bun (别名)
- pulumi-language-dotnet (别名)
- pulumi-language-go (别名)
- pulumi-language-java (别名)
- pulumi-language-nodejs (别名)
- pulumi-language-pcl (别名)
- pulumi-language-python (别名)
- pulumi-language-python-exec (别名)
- pulumi-language-yaml (别名)
- pulumi-resource-pulumi-nodejs (别名)
- pulumi-resource-pulumi-python (别名)
- pulumi-watch (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.255.0
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/pulumi/pulumi
- 信息: No cached GitHub release or tag data was available.

## 安全说明

infrastructure as code tool.

- **Geiger 风险:** orange / 高
- infrastructure as code tool


## 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

- Unix: ./Pulumi.yaml, ./Pulumi.yml, ./Pulumi.<stack>.yaml, ./Pulumi.<stack>.yml
- Windows: .\Pulumi.yaml, .\Pulumi.yml, .\Pulumi.<stack>.yaml, .\Pulumi.<stack>.yml

## Credential files

- Unix: ~/.pulumi/credentials.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pulumi
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - pulumi: normalized package name match | nixpkgs package indexes: pkgs/by-name/pu/pulumi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - pulumi - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK | https://pulumi.com/
- apk - pulumi-bash-completion - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for pulumi | https://pulumi.com/
- apk - pulumi-fish-completion - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for pulumi | https://pulumi.com/
- apk - pulumi-language-go - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-language-go from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK (Go language provider) | https://pulumi.com/
- apk - pulumi-language-nodejs - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-language-nodejs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK (NodeJS language provider) | https://pulumi.com/
- apk - pulumi-language-pcl - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-language-pcl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK (PCL language provider) | https://pulumi.com/
- apk - pulumi-language-python - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-language-python from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK (Python language provider) | https://pulumi.com/
- apk - pulumi-zsh-completion - 3.255.0-r0: normalized package name match | Alpine Linux edge package indexes: pulumi-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for pulumi | https://pulumi.com/
- pacman - pulumi - 3.242.0-1: normalized package name match | Arch Linux sync databases: pulumi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Modern Infrastructure as Code | https://github.com/pulumi/pulumi
- MacPorts - pulumi: normalized package name match | MacPorts ports tree: sysutils/pulumi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - pulumi: normalized package name match | Chocolatey community package catalog: pulumi from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','processing'
- Scoop - main/pulumi: normalized package name match | Scoop official bucket manifest trees: bucket/pulumi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Pulumi.Pulumi: normalized package name match | Windows Package Manager source index: Pulumi.Pulumi from https://cdn.winget.microsoft.com/cache/source.msix
- apk - pulumi-language-dotnet - 3.109.0-r0: installed executable or alias match | Alpine Linux edge package indexes: pulumi-language-dotnet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK (.NET language provider) | https://pulumi.com/
- apk - pulumi-language-java - 1.34.0-r0: installed executable or alias match | Alpine Linux edge package indexes: pulumi-language-java from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Infrastructure as Code SDK (Java language provider) | https://pulumi.com/


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ansible](https://pkg.so/zh-hans/brew/ansible/) - Shares pkgdb curated category or tags: automation, cli, cloud, cloud-infrastructure, devops.
- [opentofu](https://pkg.so/zh-hans/brew/opentofu/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [aws-cdk](https://pkg.so/zh-hans/brew/aws-cdk/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [rain](https://pkg.so/zh-hans/brew/rain/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [otterdog](https://pkg.so/zh-hans/brew/otterdog/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [sceptre](https://pkg.so/zh-hans/brew/sceptre/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [org-formation](https://pkg.so/zh-hans/brew/org-formation/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [pug](https://pkg.so/zh-hans/brew/pug/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [cdktf](https://pkg.so/zh-hans/brew/cdktf/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, cloud-infrastructure, code, development.

## Combined YAML source

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


## 来源

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