# 使用 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
- **版本:** 0.12.2
- **来源摘要:** Windows XML Event Log parser
- **主页:** <https://github.com/omerbenamram/evtx>
- **仓库:** <https://github.com/omerbenamram/evtx>
- **最后更新:** 2026-06-13T17:48:59Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- evtx_dump (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

- 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


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