# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 flawz

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

## 安装

```sh
sudo av install brew:flawz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flawz
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install flawz
```

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

### Linux

- apk (92%):

```sh
sudo apk add flawz
```

  证据: Alpine Linux edge package indexes: flawz from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#flawz
```

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

- pacman (92%):

```sh
sudo pacman -S flawz
```

  证据: Arch Linux sync databases: flawz from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:flawz
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/flawz>
- **版本:** 0.4.1
- **来源摘要:** Terminal UI for browsing security vulnerabilities (CVEs)
- **主页:** <https://github.com/orhun/flawz>
- **仓库:** <https://github.com/orhun/flawz>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/orhun/flawz/archive/refs/tags/v0.4.1.tar.gz>
- **最后更新:** 2026-06-14T05:08:26Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- flawz (cli)
- flawz (别名)

## 构建依赖

- pkgconf
- rust

## macOS 提供的库

- sqlite

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.1
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/orhun/flawz
- 检测到的最新版本: v0.4.1 (当前)
## 项目历史与用法

flawz is a Rust terminal user interface for browsing CVE security vulnerability data. It packages NVD-backed vulnerability search into a local CLI/TUI workflow with SQLite storage, theming, offline use, and optional NVD API-key acceleration.

### 项目历史

The upstream GitHub repository was created in 2024. The README presents flawz as a terminal UI for browsing security vulnerabilities, using NIST's NVD as the default vulnerability database and offering search, listing, theming, and details views in the terminal.

The release stream began with v0.1.0 in May 2024 and reached v0.4.1 in June 2026, according to the official GitHub releases API.

### 采用历史

The official README documents installation through Cargo, Arch Linux official repositories, Alpine Edge, Homebrew, Nixpkgs unstable, NetBSD pkgsrc, binary releases, and source builds. That unusually broad package-manager list for a young Rust TUI reflects quick adoption by distribution packagers interested in CVE tooling.

### 使用方式

flawz syncs NVD feeds into a SQLite database, accepts year ranges and recent or modified feeds, and can start directly on a query such as an xz CVE search. Users can pass an NVD API key with `--api-key` or `NVD_API_KEY` for higher NVD rate limits, choose themes, and use offline mode against cached data.

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

flawz is package-nerd relevant because it combines several current CLI trends in one small package: Rust distribution through crates.io and native package managers, terminal UI ergonomics, local SQLite caching, and security metadata browsing tied to the NVD feed ecosystem.

### 时间线

- 2024: GitHub repository created.
- 2024: v0.1.0 released on May 18.
- 2024: v0.3.0 released on November 3.
- 2026: v0.4.0 and v0.4.1 released on June 13.

### Related projects

- NVD and NIST provide the default vulnerability database used by flawz.
- crates.io, docs.rs, Cargo, Arch Linux, Alpine, Homebrew, Nixpkgs, NetBSD pkgsrc, and SQLite are part of the documented packaging and runtime context.

### 来源

- <https://api.github.com/repos/orhun/flawz>
- <https://api.github.com/repos/orhun/flawz/releases?per_page=20>
- <https://formulae.brew.sh/formula/flawz>
- <https://github.com/orhun/flawz>
- <https://raw.githubusercontent.com/orhun/flawz/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** flawz
- **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 - flawz: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flawz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - flawz - 0.4.1-r0: normalized package name match | Alpine Linux edge package indexes: flawz from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A Terminal UI for browsing CVEs | https://github.com/orhun/flawz
- apk - flawz-bash-completion - 0.4.1-r0: normalized package name match | Alpine Linux edge package indexes: flawz-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for flawz | https://github.com/orhun/flawz
- apk - flawz-doc - 0.4.1-r0: normalized package name match | Alpine Linux edge package indexes: flawz-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A Terminal UI for browsing CVEs (documentation) | https://github.com/orhun/flawz
- apk - flawz-fish-completion - 0.4.1-r0: normalized package name match | Alpine Linux edge package indexes: flawz-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for flawz | https://github.com/orhun/flawz
- apk - flawz-zsh-completion - 0.4.1-r0: normalized package name match | Alpine Linux edge package indexes: flawz-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for flawz | https://github.com/orhun/flawz
- pacman - flawz - 0.4.1-1: normalized package name match | Arch Linux sync databases: flawz from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A Terminal UI for browsing security vulnerabilities (CVEs) | https://github.com/orhun/flawz
- MacPorts - flawz: normalized package name match | MacPorts ports tree: security/flawz/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [gpg-tui](https://pkg.so/zh-hans/brew/gpg-tui/) - Shares pkgdb curated category or tags: cli, rust, security, tui.
- [feroxbuster](https://pkg.so/zh-hans/brew/feroxbuster/) - Shares pkgdb curated category or tags: cli, rust, security.
- [rustscan](https://pkg.so/zh-hans/brew/rustscan/) - Shares pkgdb curated category or tags: cli, rust, security.
- [jwt-cli](https://pkg.so/zh-hans/brew/jwt-cli/) - Shares pkgdb curated category or tags: cli, rust, security.
- [cargo-audit](https://pkg.so/zh-hans/brew/cargo-audit/) - Shares pkgdb curated category or tags: cli, rust, security.
- [yara-x](https://pkg.so/zh-hans/brew/yara-x/) - Shares pkgdb curated category or tags: cli, rust, security.
- [cargo-deny](https://pkg.so/zh-hans/brew/cargo-deny/) - Shares pkgdb curated category or tags: cli, rust, security.
- [evtx](https://pkg.so/zh-hans/brew/evtx/) - Shares pkgdb curated category or tags: cli, rust, security.
- [cve-bin-tool](https://pkg.so/zh-hans/brew/cve-bin-tool/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cve, security, vulnerabilities, vulnerability.
- [chainsaw](https://pkg.so/zh-hans/brew/chainsaw/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, rust, search, security.
- [auditjs](https://pkg.so/zh-hans/npm/auditjs/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cve, security, vulnerabilities, vulnerability.

## Combined YAML source

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