# 使用 Homebrew, apk, Nix 安装 epr

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

## 安装

```sh
sudo av install brew:epr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install epr
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add epr
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#epr
```

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

## 软件包事实

- **软件包键:** brew:epr
- **软件包管理器:** Homebrew
- **版本:** 2.4.15
- **来源摘要:** Command-line EPUB reader
- **主页:** <https://github.com/wustho/epr>
- **仓库:** <https://github.com/wustho/epr>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- epr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

epr is a small Python terminal EPUB reader. Its README emphasizes a keyboard-oriented CLI experience: remembering the last book and per-file reading state, adapting to terminal resize, supporting EPUB3 text, opening embedded images, and providing simple dark and light color schemes.

### 项目历史

The GitHub repository was created in March 2019. The project kept the classic Unix shape of a single-purpose command-line reader, with installation paths through PyPI, pip from Git, Homebrew, Chocolatey, AUR, or manual placement in PATH.

### 采用历史

epr became popular enough for packaging across several ecosystems and accumulated notable GitHub attention for a niche terminal reader. The README also points users toward epy, the author's more featureful fork that supports more formats and reading features.

### 使用方式

Users invoke epr with an EPUB path or without arguments to resume the last read file. It stores per-file reading state in $HOME/.config/epr/config or $HOME/.epr, and it can search reading history by passing words from a previous path.

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

epr is the kind of package terminal users like because it turns a GUI-heavy activity into a shell command. Its small dependency footprint and plain config/state files make it easy to package and easy to reason about.

### 时间线

- 2019: The GitHub repository is created.
- 2023: The repository records a February 2023 push in the cited metadata.
- 2020s: The README documents installation through PyPI, Homebrew, Chocolatey, AUR, and manual PATH placement.

### Related projects

- epy is the author's more featureful fork of epr.
- ebooklib and rupa/epub are listed as inspirations in the README.

### 来源

- <https://github.com/wustho/epr>
- <https://raw.githubusercontent.com/wustho/epr/master/README.md>
- <https://api.github.com/repos/wustho/epr>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/epr/config, ~/.epr
## 其他软件包管理器记录

- Nix - epr: normalized package name match | nixpkgs package indexes: pkgs/by-name/ep/epr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - epr - 2.4.15-r2: normalized package name match | Alpine Linux edge package indexes: epr from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI epub reader | https://github.com/wustho/epr
- apk - epr-pyc - 2.4.15-r2: normalized package name match | Alpine Linux edge package indexes: epr-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for epr | https://github.com/wustho/epr


## Combined YAML source

View the package source record on GitHub. [combined/epr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/epr.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
