# 使用 Homebrew, MacPorts, Nix 安装 vsh

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

## 安装

```sh
sudo av install brew:vsh
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vsh
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vsh
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#vsh
```

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

## 软件包事实

- **软件包键:** brew:vsh
- **软件包管理器:** Homebrew
- **版本:** 1.0.0
- **来源摘要:** HashiCorp Vault interactive shell
- **主页:** <https://github.com/fishi0x01/vsh>
- **仓库:** <https://github.com/fishi0x01/vsh>
- **最后更新:** 2026-07-26T00:30:34+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vsh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

vsh is an interactive shell and CLI for HashiCorp Vault. Its project identity is to make Vault secret paths feel like directories and files, with familiar commands such as `ls`, `cd`, `cat`, `cp`, `mv`, `rm`, `grep`, and `replace`.

### 项目历史

The project is maintained on GitHub by fishi0x01. Its README emphasizes transparency between KV version 1 and KV version 2 secret engines, recursive operations over Vault paths, non-interactive command execution for automation, and command documentation under `doc/commands`.

The 1.0.0 release, published on GitHub in 2026, marks a maturation point: the release notes added concurrent recursive operations, a richer Bubble Tea-based interactive UI, safer recursive removal prompts, and static release binaries.

### 使用方式

vsh is used by operators and developers who work directly with Vault key-value secrets and want a shell-like navigation model rather than repeated raw `vault kv` commands. It uses Vault token helper behavior, supports common token environment variables, and documents permission needs such as List access for completion and path discovery.

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

vsh is niche but useful in the CLI ecosystem because it wraps a security service in traditional Unix shell verbs. That makes it attractive to users who think in paths, recursive copy/move/remove operations, and grep-like inspection of secret trees.

### 时间线

- 2026: vsh 1.0.0 was released with concurrent recursive operations and a Bubble Tea-based interactive interface.

### 来源

- Command docs directory: https://github.com/fishi0x01/vsh/tree/master/doc/commands
- GitHub README: https://github.com/fishi0x01/vsh
- GitHub releases: https://github.com/fishi0x01/vsh/releases


## 安全说明

generalized runtime or code generation signal.

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

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

- Nix - vsh: normalized package name match | nixpkgs package indexes: pkgs/by-name/vs/vsh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - vsh: normalized package name match | MacPorts ports tree: security/vsh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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