# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 vhs

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

## 安装

```sh
sudo av install brew:vhs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vhs
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vhs
```

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

### Linux

- apk (92%):

```sh
sudo apk add vhs
```

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

- dnf (92%):

```sh
sudo dnf install vhs
```

  证据: Fedora Rawhide package metadata: vhs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#vhs
```

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

- pacman (92%):

```sh
sudo pacman -S vhs
```

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

- zypper (92%):

```sh
sudo zypper install vhs
```

  证据: openSUSE Tumbleweed package metadata: vhs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/vhs
```

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

- winget (92%):

```sh
winget install --id charmbracelet.vhs -e
```

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

## 软件包事实

- **软件包键:** brew:vhs
- **软件包管理器:** Homebrew
- **版本:** 0.11.0
- **来源摘要:** Your CLI home video recorder
- **主页:** <https://github.com/charmbracelet/vhs>
- **仓库:** <https://github.com/charmbracelet/vhs>
- **最后更新:** 2026-07-26T00:30:32+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vhs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

VHS is Charmbracelet's terminal demo recorder: a command-line tool that describes terminal sessions as `.tape` files and renders them to GIF, MP4, WebM, or related outputs. It sits in the same developer-experience niche as asciinema and terminal screenshot tools, but emphasizes reproducible, scripted demos.

### 项目历史

Charmbracelet created the public VHS repository on 2022-07-19. The project adopted the metaphor of terminal 'home video' and 'tape' files: a tape contains commands such as output settings, typed text, sleeps, and enter/key events, and VHS evaluates those commands in a controlled terminal session.

The release stream shows VHS maturing through regular 0.x releases after its 2022 repository creation, including v0.4.0 in April 2023, v0.6.0 in July 2023, v0.8.0 in September 2024, v0.10.0 in June 2025, and v0.11.0 in March 2026. The project remained under Charmbracelet stewardship and in Charmbracelet's broader family of polished terminal tools.

### 采用历史

VHS gained adoption among CLI authors because it turns README demos into source-controlled assets: the demo script can live beside the project, and the rendered animation can be regenerated when the CLI changes. Charmbracelet also maintains `vhs-action`, a GitHub Action intended to regenerate GIFs from `.tape` files in CI, reinforcing VHS's role in documentation and integration testing workflows.

### 使用方式

A normal VHS workflow starts with `vhs new demo.tape`, editing the generated tape file, and running `vhs demo.tape` to create the configured output. The README documents settings for terminal dimensions, font, shell, output path, and scripted terminal actions; it also supports recording an interactive session into a tape for later editing.

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

For package maintainers, VHS matters because it treats terminal recordings as build artifacts rather than hand-captured media. That makes CLI demos reviewable, repeatable, and automatable in release or README pipelines, which is a practical improvement over stale screenshots and manually captured GIFs.

### 时间线

- 2022-07-19: Public GitHub repository created.
- 2023-04-05: v0.4.0 release published.
- 2023-07-20: v0.6.0 release published.
- 2024-09-06: v0.8.0 release published.
- 2025-06-17: v0.10.0 release published.
- 2026-03-10: v0.11.0 release published.

### Related projects

- vhs-action is the companion GitHub Action for regenerating VHS outputs in CI.
- Charmbracelet's broader terminal ecosystem includes Bubble Tea, Lip Gloss, Gum, and other Go-based CLI/TUI projects that share the same polish-oriented developer audience.

### 来源

- <https://api.github.com/repos/charmbracelet/vhs>
- <https://api.github.com/repos/charmbracelet/vhs/releases>
- <https://github.com/charmbracelet/vhs>
- <https://github.com/charmbracelet/vhs-action>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - vhs: normalized package name match | nixpkgs package indexes: pkgs/by-name/vh/vhs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - vhs - 0.11.0-r3: normalized package name match | Alpine Linux edge package indexes: vhs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for automatic recording of terminal sessions | https://github.com/charmbracelet/vhs
- apk - vhs-bash-completion - 0.11.0-r3: normalized package name match | Alpine Linux edge package indexes: vhs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for vhs | https://github.com/charmbracelet/vhs
- apk - vhs-doc - 0.11.0-r3: normalized package name match | Alpine Linux edge package indexes: vhs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for automatic recording of terminal sessions (documentation) | https://github.com/charmbracelet/vhs
- apk - vhs-fish-completion - 0.11.0-r3: normalized package name match | Alpine Linux edge package indexes: vhs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for vhs | https://github.com/charmbracelet/vhs
- apk - vhs-zsh-completion - 0.11.0-r3: normalized package name match | Alpine Linux edge package indexes: vhs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for vhs | https://github.com/charmbracelet/vhs
- dnf - vhs - 0.11.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: vhs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Your CLI home video recorder | https://github.com/charmbracelet/vhs
- pacman - vhs - 0.11.0-1: normalized package name match | Arch Linux sync databases: vhs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool for recording terminal GIFs | https://github.com/charmbracelet/vhs
- zypper - vhs - 0.9.0-1.15: normalized package name match | openSUSE Tumbleweed package metadata: vhs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI video recorder | https://github.com/charmbracelet/vhs
- zypper - vhs-bash-completion - 0.9.0-1.15: normalized package name match | openSUSE Tumbleweed package metadata: vhs-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for vhs | https://github.com/charmbracelet/vhs
- zypper - vhs-doc - 0.9.0-1.15: normalized package name match | openSUSE Tumbleweed package metadata: vhs-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for vhs | https://github.com/charmbracelet/vhs
- zypper - vhs-fish-completion - 0.9.0-1.15: normalized package name match | openSUSE Tumbleweed package metadata: vhs-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for vhs | https://github.com/charmbracelet/vhs
- zypper - vhs-zsh-completion - 0.9.0-1.15: normalized package name match | openSUSE Tumbleweed package metadata: vhs-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for vhs | https://github.com/charmbracelet/vhs
- MacPorts - vhs: normalized package name match | MacPorts ports tree: graphics/vhs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/vhs: normalized package name match | Scoop official bucket manifest trees: bucket/vhs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - charmbracelet.vhs: normalized package name match | Windows Package Manager source index: charmbracelet.vhs from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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