# 使用 Homebrew, MacPorts, Nix, scoop 安装 sampler

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

## 安装

```sh
sudo av install brew:sampler
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sampler
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sampler
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sampler
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/sampler
```

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

## 软件包事实

- **软件包键:** brew:sampler
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sampler>
- **版本:** 1.1.0
- **来源摘要:** Tool for shell commands execution, visualization and alerting
- **主页:** <https://sampler.dev>
- **仓库:** <https://github.com/sqshq/sampler>
- **上游文档:** <https://sampler.dev>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://github.com/sqshq/sampler/archive/refs/tags/v1.1.0.tar.gz>
- **最后更新:** 2026-07-26T04:03:36+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sampler (cli)
- sampler (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/sqshq/sampler
- 检测到的最新版本: v1.1.0 (当前)

## 安全说明

generalized runtime or code generation signal.

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


## 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: config.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sampler
- **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 - sampler: normalized package name match | nixpkgs package indexes: pkgs/by-name/sa/sampler/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - sampler: normalized package name match | MacPorts ports tree: devel/sampler/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/sampler: normalized package name match | Scoop official bucket manifest trees: bucket/sampler.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing 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.
- [ctop](https://pkg.so/zh-hans/brew/ctop/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal-ui.
- [nagios](https://pkg.so/zh-hans/brew/nagios/) - Shares pkgdb curated category or tags: alerting, cli, monitoring, system.
- [syswatch](https://pkg.so/zh-hans/brew/syswatch/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal-ui.
- [btop](https://pkg.so/zh-hans/brew/btop/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal-ui.
- [pv](https://pkg.so/zh-hans/brew/pv/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [mactop](https://pkg.so/zh-hans/brew/mactop/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [duf](https://pkg.so/zh-hans/brew/duf/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [node_exporter](https://pkg.so/zh-hans/brew/node-exporter/) - Shares pkgdb curated category or tags: cli, monitoring, system.

## Combined YAML source

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


## 来源

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