# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/netfetch>
- **版本:** 0.5.4
- **来源摘要:** K8s tool to scan clusters for network policies and unprotected workloads
- **主页:** <https://github.com/deggja/netfetch>
- **仓库:** <https://github.com/deggja/netfetch>
- **许可证:** MIT
- **源码归档:** <https://github.com/deggja/netfetch/archive/refs/tags/v0.5.4.tar.gz>
- **最后更新:** 2026-07-26T19:43:15+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- netfetch (cli)
- netfetch (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.4
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/deggja/netfetch
- 检测到的最新版本: v0.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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** netfetch
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [checkov](https://pkg.so/zh-hans/brew/checkov/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [kubescape](https://pkg.so/zh-hans/brew/kubescape/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [terrascan](https://pkg.so/zh-hans/brew/terrascan/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [gator](https://pkg.so/zh-hans/brew/gator/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [kube-bench](https://pkg.so/zh-hans/brew/kube-bench/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [roxctl](https://pkg.so/zh-hans/brew/roxctl/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [kubehound](https://pkg.so/zh-hans/brew/kubehound/) - Shares pkgdb curated category or tags: cli, kubernetes, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [terraform-iam-policy-validator](https://pkg.so/zh-hans/brew/terraform-iam-policy-validator/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, policies, policy, security.
- [authoscope](https://pkg.so/zh-hans/brew/authoscope/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, network, security.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
