# 使用 Homebrew 安装 envv

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

## 安装

```sh
sudo av install brew:envv
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install envv
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:envv
- **软件包管理器:** Homebrew
- **版本:** 1.7
- **来源摘要:** Shell-independent handling of environment variables
- **主页:** <https://github.com/jakewendt/envv>
- **仓库:** <https://github.com/jakewendt/envv>
- **最后更新:** 2026-07-10T19:51:01-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- envv (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

envv is a small C utility for generating shell-specific commands that set environment variables and edit colon-separated paths. Its niche is old-school Unix software setup: one script can be sourced by users of csh, tcsh, bash, sh, ksh, and zsh without hard-coding separate initialization logic for each shell.

### 项目历史

The README traces envv back to David F. Skoll of Roaring Penguin Software, with version 1.0 dated February 8, 1994. Early releases added zsh recognition, a `choose` directive, local variables, stdin directives, and fixes around path comparison and environment persistence.

The GitHub-hosted copy records a later 2011 license change to MIT and a segmentation fault fix, but otherwise presents envv as a deliberately small utility: build with `make`, copy the `envv` executable into a system directory, and consult the bundled `envv.1` manual page.

### 采用历史

envv never became a broad ecosystem package, but its continued packaging in Homebrew keeps a 1990s Unix environment-management tool installable on modern developer machines. The README's example is aimed at commercial or site-local software that needs PATH entries and home variables set consistently for many user shells.

### 使用方式

A typical envv setup script evaluates commands such as `envv add PATH /usr/local/foobar/bin` and `envv set FOOHOME /usr/local/foobar`. Users source that script from their preferred shell, allowing system-wide software moves without each user editing `.cshrc`, `.profile`, or similar files by hand.

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

envv is interesting as a compact survivor from the era when Unix shops had to support several interactive shells at once. For package-manager history, it is a reminder that environment setup before modules, direnv, and modern shell frameworks often meant tiny C tools that printed shell code.

### 时间线

- 1994-02-08: Version 1.0 first released.
- 1994-03-22: Version 1.1 added zsh recognition and the `choose` directive.
- 1994-04-18: Version 1.2 added local variables, command-line options, and stdin directives.
- 1995-07-11: Version 1.6 fixed path comparison behavior.
- 2011-07-14: Version 1.7 changed the license to MIT and fixed a segmentation fault.

### Related projects

- envv overlaps conceptually with shell profile snippets, environment modules, and later per-directory environment tools, but it solves a narrower problem by emitting commands for multiple shells.

### 来源

- <https://github.com/jakewendt/envv>
- <https://raw.githubusercontent.com/jakewendt/envv/master/README>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
