# 使用 Homebrew, Nix, zypper 安装 netfetch

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

## 安装

```sh
sudo av install brew:netfetch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install netfetch
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#netfetch
```

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

- zypper (92%):

```sh
sudo zypper install netfetch
```

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

## 软件包事实

- **软件包键:** brew:netfetch
- **软件包管理器:** Homebrew
- **版本:** 0.5.4
- **来源摘要:** K8s tool to scan clusters for network policies and unprotected workloads
- **主页:** <https://github.com/deggja/netfetch>
- **仓库:** <https://github.com/deggja/netfetch>
- **最后更新:** 2026-07-26T19:43:15+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- netfetch (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Netfetch is a small Kubernetes security CLI for scanning clusters for workloads that are not targeted by network policies. Its project README describes it as a work in progress aimed at demystifying Kubernetes network policies.

### 项目历史

The public history is short and mostly lives in the GitHub repository and release page. The README documents a CLI-first tool with a dashboard, Kubernetes NetworkPolicy support, Cilium policy support in the CLI, Homebrew installation, Helm deployment for the dashboard, and a scoring model that decreases as more workloads run without policy coverage.

### 采用历史

Adoption appears niche but real. The GitHub releases page showed 449 stars and 25 forks in the repository header, and the Homebrew formula page on July 1, 2026 reported 237 installs over 365 days and 39 installs over 30 days. That is consistent with a young Kubernetes operator/security helper rather than a foundational package.

### 使用方式

Users run netfetch scan against a kubeconfig-backed cluster to inspect all non-system namespaces or a named namespace, often with --dryrun while auditing. The README also documents --cilium for Cilium Network Policies, --target for inspecting a specific policy, and netfetch dash for a local dashboard that can scan, map pods and policies, preview YAML, and suggest policy changes.

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

The package is significant mainly for Kubernetes network-policy hygiene. Kubernetes documentation says NetworkPolicies control layer 3/4 traffic and require a network plugin that enforces them; Netfetch sits in the practical gap between 'policies exist' and 'which workloads are actually covered?'. It is not yet broad infrastructure, but it packages a useful audit loop into one command.

### 时间线

- 2026-07-01: Homebrew listed stable version 0.5.4 and 237 installs over 365 days.
- The GitHub releases page listed v0.5.4 as the latest release and documented changes around kubeconfig flag handling.

### Related projects

- Kubernetes NetworkPolicy
- Cilium NetworkPolicy
- kubectl
- Helm

### 来源

- <https://formulae.brew.sh/formula/netfetch>
- <https://github.com/deggja/netfetch>
- <https://github.com/deggja/netfetch/releases>
- <https://kubernetes.io/docs/concepts/services-networking/network-policies/>


## 安全说明

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

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

- Nix - netfetch: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/netfetch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - netfetch - 0.5.4-1.8: normalized package name match | openSUSE Tumbleweed package metadata: netfetch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Scanning clusters for network policies and identifying unprotected workloads | https://github.com/deggja/netfetch
- zypper - netfetch-bash-completion - 0.5.4-1.8: normalized package name match | openSUSE Tumbleweed package metadata: netfetch-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for netfetch | https://github.com/deggja/netfetch
- zypper - netfetch-fish-completion - 0.5.4-1.8: normalized package name match | openSUSE Tumbleweed package metadata: netfetch-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for netfetch | https://github.com/deggja/netfetch
- zypper - netfetch-zsh-completion - 0.5.4-1.8: normalized package name match | openSUSE Tumbleweed package metadata: netfetch-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for netfetch | https://github.com/deggja/netfetch


## Combined YAML source

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