# 使用 Homebrew, Nix 安装 evtx

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

## 安装

```sh
sudo av install brew:evtx
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install evtx
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#evtx
```

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

## 软件包事实

- **软件包键:** brew:evtx
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/evtx>
- **版本:** 0.12.2
- **来源摘要:** Windows XML Event Log parser
- **主页:** <https://github.com/omerbenamram/evtx>
- **仓库:** <https://github.com/omerbenamram/evtx>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/omerbenamram/evtx/archive/refs/tags/v0.12.2.tar.gz>
- **最后更新:** 2026-06-13T17:48:59Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- evtx_dump (cli)
- evtx_dump (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

evtx is a Rust library and command-line utility for parsing the Windows XML Event Log format, centered on the evtx_dump tool and also exposed through Rust and Python bindings.

### 项目历史

The GitHub repository was created on 2019-03-30 and the first GitHub release, 0.3.0, was published on 2019-05-14. The project positions itself as a cross-platform parser for Windows EVTX files, implemented in safe Rust, with XML, JSON, and JSON Lines output paths.

By the 0.12.x series the README emphasized multithreaded parsing, recovery of missing records or chunks, offline WEVT template rendering, WebAssembly-backed local viewing, and release binaries for Windows, macOS, and Linux.

### 采用历史

The package has visible adoption in Rust and package-manager communities: crates.io reported more than 212,000 total downloads and Homebrew shipped evtx 0.12.2 with recent install analytics. The repository also links pyevtx-rs as Python bindings around the same Rust core.

Its niche is forensic and incident-response tooling rather than general-purpose logging. The README compares it directly with python-evtx, libevtx, Go EVTX parsers, and pyevtx-rs, which reflects its role in a small but performance-sensitive parser ecosystem.

### 使用方式

The main CLI, evtx_dump, converts .evtx files to XML, JSON, or JSON Lines, can write to files, can read from stdin, and can be combined with tools such as fd, xargs, and jq for batch processing.

As a library, evtx exposes EvtxParser for iterating over records from Rust code. Optional WEVT template-cache support lets users extract templates from provider binaries and render records that otherwise fail because of missing template data.

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

Package maintainers care about evtx because it is a modern, cross-platform replacement candidate for older EVTX parsers that were often tied to Python or C libraries. It also has the classic package-nerd appeal of a small CLI wrapping a fast library with stable machine-readable output.

The project is especially useful in Unix pipelines that need to process Windows forensic artifacts without a Windows host.

### 时间线

- 2019: Repository created and first GitHub release published.
- 2026: README benchmarked evtx 0.12.2 and documented PGO-built release binaries for Linux and macOS.
- 2026: crates.io reported evtx 0.12.2 as the maximum version with more than 212,000 total downloads.

### Related projects

- pyevtx-rs provides Python bindings for the same Rust core.
- The README benchmarks against python-evtx, libevtx, Velocidex evtx, and golang-evtx.

### 来源

- <https://github.com/omerbenamram/evtx>
- <https://raw.githubusercontent.com/omerbenamram/evtx/master/README.md>
- <https://api.github.com/repos/omerbenamram/evtx>
- <https://api.github.com/repos/omerbenamram/evtx/releases?per_page=100>
- <https://crates.io/api/v1/crates/evtx>
- <https://formulae.brew.sh/api/formula/evtx.json>


## 安全说明

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:** evtx
- **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 - evtx: normalized package name match | nixpkgs package indexes: pkgs/by-name/ev/evtx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [chainsaw](https://pkg.so/zh-hans/brew/chainsaw/) - Shares pkgdb curated category or tags: cli, forensics, rust, security.
- [afflib](https://pkg.so/zh-hans/brew/afflib/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [ssdeep](https://pkg.so/zh-hans/brew/ssdeep/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [dcfldd](https://pkg.so/zh-hans/brew/dcfldd/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [dc3dd](https://pkg.so/zh-hans/brew/dc3dd/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [mac-robber](https://pkg.so/zh-hans/brew/mac-robber/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [binwalk](https://pkg.so/zh-hans/brew/binwalk/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [sleuthkit](https://pkg.so/zh-hans/brew/sleuthkit/) - Shares pkgdb curated category or tags: cli, forensics, security.
- [regipy](https://pkg.so/zh-hans/brew/regipy/) - Security-sensitive metadata or terminology overlaps. Shared terms: analysis, cli, dump, forensics, security.

## Combined YAML source

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