# 使用 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
- **版本:** 0.3.3
- **来源摘要:** Why is this running?
- **主页:** <https://github.com/pranshuparmar/witr>
- **仓库:** <https://github.com/pranshuparmar/witr>
- **最后更新:** 2026-07-25T22:40:21+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- witr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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。


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

- 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


## Combined YAML source

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