# 使用 Homebrew, Nix 安装 shadowenv

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

## 安装

```sh
sudo av install brew:shadowenv
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shadowenv
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#shadowenv
```

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

## 软件包事实

- **软件包键:** brew:shadowenv
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/shadowenv>
- **版本:** 3.5.1
- **来源摘要:** Reversible directory-local environment variable manipulations
- **主页:** <https://shopify.github.io/shadowenv/>
- **仓库:** <https://github.com/Shopify/shadowenv>
- **上游文档:** <https://shopify.github.io/shadowenv>
- **许可证:** MIT
- **源码归档:** <https://github.com/Shopify/shadowenv/archive/refs/tags/3.5.1.tar.gz>
- **最后更新:** 2026-06-19T08:53:58Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- shadowenv (cli)
- shadowenv (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.5.1
- 管理器更新时间: 2026-06-19
- 本地数据: OK
- 上游仓库: https://github.com/Shopify/shadowenv
- 检测到的最新版本: 3.5.1 (当前)

## 安全说明

narrow executable package without higher-risk signals.

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


## 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: .shadowenv.d/*.lisp
## 源数据库详情

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

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

- Nix - shadowenv: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shadowenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [direnv](https://www.automicvault.com/zh-hans/pkg/brew/direnv/) - Shares av.db curated category or tags: cli, developer-tools, environment-management, environment-variables, shell.
- [modules](https://www.automicvault.com/zh-hans/pkg/brew/modules/) - Shares av.db curated category or tags: cli, developer-tools, environment-management, shell.
- [virtualenvwrapper](https://www.automicvault.com/zh-hans/pkg/brew/virtualenvwrapper/) - Shares av.db curated category or tags: cli, developer-tools, environment-management, shell.
- [envv](https://www.automicvault.com/zh-hans/pkg/brew/envv/) - Shares av.db curated category or tags: cli, developer-tools, environment-variables, shell.
- [fades](https://www.automicvault.com/zh-hans/pkg/brew/fades/) - Shares av.db curated category or tags: cli, developer-tools, environment-management.
- [hermit](https://www.automicvault.com/zh-hans/pkg/brew/hermit/) - Shares av.db curated category or tags: cli, developer-tools, environment-management.
- [pyenv-pip-migrate](https://www.automicvault.com/zh-hans/pkg/brew/pyenv-pip-migrate/) - Shares av.db curated category or tags: cli, developer-tools, environment-management.
- [pyenv-virtualenv](https://www.automicvault.com/zh-hans/pkg/brew/pyenv-virtualenv/) - Shares av.db curated category or tags: cli, developer-tools, environment-management.

## Combined YAML source

View the package source record on GitHub. [combined/shadowenv.yml](https://github.com/automic-vault/db/blob/main/combined/shadowenv.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
