# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vsh>
- **版本:** 1.0.0
- **来源摘要:** HashiCorp Vault interactive shell
- **主页:** <https://github.com/fishi0x01/vsh>
- **仓库:** <https://github.com/fishi0x01/vsh>
- **许可证:** MIT
- **源码归档:** <https://github.com/fishi0x01/vsh/archive/refs/tags/v1.0.0.tar.gz>
- **最后更新:** 2026-07-26T00:30:34+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vsh (cli)
- vsh (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/fishi0x01/vsh
- 检测到的最新版本: v1.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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vsh
- **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 - 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control 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.
- [lastpass-cli](https://pkg.so/zh-hans/brew/lastpass-cli/) - Shares pkgdb curated category or tags: cli, secrets, security, vault.
- [teller](https://pkg.so/zh-hans/brew/teller/) - Shares pkgdb curated category or tags: cli, secrets, security, vault.
- [git-crypt](https://pkg.so/zh-hans/brew/git-crypt/) - Shares pkgdb curated category or tags: cli, secrets, security.
- [aws-vault](https://pkg.so/zh-hans/brew/aws-vault/) - Shares pkgdb curated category or tags: cli, security, vault.
- [kubeseal](https://pkg.so/zh-hans/brew/kubeseal/) - Shares pkgdb curated category or tags: cli, secrets, security.
- [doppler](https://pkg.so/zh-hans/brew/doppler/) - Shares pkgdb curated category or tags: cli, secrets, security.
- [git-secret](https://pkg.so/zh-hans/brew/git-secret/) - Shares pkgdb curated category or tags: cli, secrets, security.
- [keychain](https://pkg.so/zh-hans/brew/keychain/) - Shares pkgdb curated category or tags: cli, security, shell.
- [acme.sh](https://pkg.so/zh-hans/brew/acme-sh/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, shell.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
