# 使用 Homebrew, MacPorts, Nix, scoop, winget 安装 witr

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

## 安装

```sh
sudo av install brew:witr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install witr
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install witr
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#witr
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/witr
```

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

- winget (92%):

```sh
winget install --id PranshuParmar.witr -e
```

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

## 软件包事实

- **软件包键:** brew:witr
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/witr>
- **版本:** 0.3.3
- **来源摘要:** Why is this running?
- **主页:** <https://github.com/pranshuparmar/witr>
- **仓库:** <https://github.com/pranshuparmar/witr>
- **上游文档:** <https://github.com/pranshuparmar/witr#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/pranshuparmar/witr/archive/refs/tags/v0.3.3.tar.gz>
- **最后更新:** 2026-07-25T22:40:21+02:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- witr (cli)
- witr (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 0.3.3
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/pranshuparmar/witr
- 检测到的最新版本: v0.3.3 (当前)
## 项目历史与用法

witr, short for the question 'Why is this running?', is a Go system-inspection CLI focused on explaining the cause behind running processes, open ports, containers, and file locks. The public repository was created in December 2025, and its README positions it as a causality layer above tools such as ps, top, lsof, ss, systemctl, and docker ps.

### 项目历史

The project appeared as a small single-purpose diagnostics tool and quickly acquired a broader interactive mode. Its README emphasizes both direct human-readable output and an interactive terminal dashboard with tabs for processes, ports, containers, and locks, reflecting a shift from one-shot inspection toward an operator-facing TUI.

### 采用历史

Although new, witr shows unusually strong early adoption signals for a system utility: the GitHub API showed more than 18,000 stars during this enrichment run, and the latest GitHub release at the time checked was v0.3.3, published on June 24, 2026. The README also points to packaging across multiple ecosystems, including Unix, macOS, Windows, FreeBSD, and several package managers, which is notable for a young CLI.

### 使用方式

witr is used when an operator sees a process, listening port, container, or lock and wants the chain of responsibility rather than another flat listing. It correlates process metadata, services, containers, shells, repositories, and related system state to explain where a running thing came from and how it was started.

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

Its package-nerd appeal is the tidy premise: most Unix inspection tools expose facts, while witr tries to narrate cause. That makes it a modern companion to classic observability commands, especially for developers moving between local machines, containers, service managers, and language-specific dev servers.

### 来源

- <https://api.github.com/repos/pranshuparmar/witr>
- <https://api.github.com/repos/pranshuparmar/witr/releases/latest>
- <https://github.com/pranshuparmar/witr>
- <https://news.ycombinator.com/item?id=46392910>


## 安全说明

没有找到 witr 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** witr
- **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 - witr: normalized package name match | nixpkgs package indexes: pkgs/by-name/wi/witr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - witr: normalized package name match | MacPorts ports tree: sysutils/witr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/witr: normalized package name match | Scoop official bucket manifest trees: bucket/witr.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - PranshuParmar.witr: normalized package name match | Windows Package Manager source index: PranshuParmar.witr from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gops](https://www.automicvault.com/zh-hans/pkg/brew/gops/) - Shares av.db curated category or tags: cli, diagnostics, go, system.
- [bpftop](https://www.automicvault.com/zh-hans/pkg/brew/bpftop/) - Shares av.db curated category or tags: cli, observability, system.
- [clinfo](https://www.automicvault.com/zh-hans/pkg/brew/clinfo/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [confd](https://www.automicvault.com/zh-hans/pkg/brew/confd/) - Shares av.db curated category or tags: cli, go, system.
- [cpuid](https://www.automicvault.com/zh-hans/pkg/brew/cpuid/) - Shares av.db curated category or tags: cli, go, system.
- [diskwatch](https://www.automicvault.com/zh-hans/pkg/brew/diskwatch/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [eatmemory](https://www.automicvault.com/zh-hans/pkg/brew/eatmemory/) - Shares av.db curated category or tags: cli, diagnostics, system.
- [g-ls](https://www.automicvault.com/zh-hans/pkg/brew/g-ls/) - Shares av.db curated category or tags: cli, go, system.
- [is-docker](https://www.automicvault.com/zh-hans/pkg/npm/is-docker/) - Local package facts share a topical domain. Shared terms: cli, is, process, running, system.

## Combined YAML source

View the package source record on GitHub. [combined/witr.yml](https://github.com/automic-vault/db/blob/main/combined/witr.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
