# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/epr>
- **版本:** 2.4.15
- **来源摘要:** Command-line EPUB reader
- **主页:** <https://github.com/wustho/epr>
- **仓库:** <https://github.com/wustho/epr>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/39/20/d647083aa86ec9da89b4f04b62dd6942aabb77528fd2efe018ff1cd145d2/epr-reader-2.4.15.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- epr (cli)
- epr (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.4.15
- 本地数据: OK
- 上游仓库: https://github.com/wustho/epr
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** epr
- **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 - 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


## 相关链接

- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [lue-reader](https://pkg.so/zh-hans/brew/lue-reader/) - Shares pkgdb curated category or tags: cli, ebook-reader, epub, media, terminal.
- [ebook-tools](https://pkg.so/zh-hans/brew/ebook-tools/) - Shares pkgdb curated category or tags: cli, ebooks, media, python.
- [kepubify](https://pkg.so/zh-hans/brew/kepubify/) - Shares pkgdb curated category or tags: cli, ebooks, epub, media.
- [cinecli](https://pkg.so/zh-hans/brew/cinecli/) - Shares pkgdb curated category or tags: cli, media, python, terminal.
- [bk](https://pkg.so/zh-hans/brew/bk/) - Shares pkgdb curated category or tags: cli, ebook-reader, epub, media, terminal.
- [libmobi](https://pkg.so/zh-hans/brew/libmobi/) - Shares pkgdb curated category or tags: cli, ebooks, media.
- [convertlit](https://pkg.so/zh-hans/brew/convertlit/) - Shares pkgdb curated category or tags: cli, ebooks, media.
- [ocrmypdf](https://pkg.so/zh-hans/brew/ocrmypdf/) - Shares pkgdb curated category or tags: cli, media, python.
- [standardebooks](https://pkg.so/zh-hans/brew/standardebooks/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, ebook, ebooks, epub, media.

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