# 使用 Homebrew, apk, MacPorts, Nix 安装 newsraft

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

## 安装

```sh
sudo av install brew:newsraft
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install newsraft
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install newsraft
```

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

### Linux

- apk (92%):

```sh
sudo apk add newsraft
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#newsraft
```

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

## 软件包事实

- **软件包键:** brew:newsraft
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/newsraft>
- **版本:** 0.37
- **来源摘要:** Terminal feed reader
- **主页:** <https://codeberg.org/newsraft/newsraft>
- **上游文档:** <https://codeberg.org/newsraft/newsraft>
- **许可证:** ISC
- **源码归档:** <https://codeberg.org/newsraft/newsraft/archive/newsraft-0.37.tar.gz>
- **最后更新:** 2026-08-01T12:53:07Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- newsraft (cli)
- newsraft (别名)

## 依赖

- gumbo-parser

## 构建依赖

- scdoc

## macOS 提供的库

- curl
- expat
- sqlite

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.37
- 管理器更新时间: 2026-08-01
- 本地数据: OK
- 上游仓库: https://codeberg.org/newsraft/newsraft
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Newsraft is a newer terminal feed reader written as a small, text-based counterpart to Newsboat. Its own README describes it as Newsboat-inspired and lightweight, with a focus on parallel downloads, section-based grouping, SQL-style filtering, OPML import/export, scripted feeds, per-feed settings, and a compact terminal interface.

### 项目历史

The Codeberg repository was created on March 29, 2022. Its changelog shows a young project moving quickly through 0.x releases, with packaging concerns called out repeatedly: dependency changes, macOS build notes, desktop metadata, removal of ncurses and yajl dependencies, and thanks to downstream package maintainers.

### 采用历史

Newsraft is niche compared with Newsboat, but it has enough packaging interest to be present in Homebrew, Alpine, MacPorts, Nix, and other repositories tracked by package metadata. The adoption story is mostly among terminal/RSS users who want a simpler or fresher implementation rather than full Newsboat compatibility.

Homebrew analytics reported 5 installs in 30 days, 35 in 90 days, and 263 in 365 days for the formula when queried on July 1, 2026. Codeberg's API reported 198 stars and 24 forks when queried the same day, which fits a small but real enthusiast project.

### 使用方式

Newsraft users keep a feeds file and optional config, then browse sections, feeds, item lists, and article content in the terminal. The man page and README emphasize custom key bindings, opening links in external programs, SQL-like item rules for filtering noisy feeds, scripted feeds that run shell commands, and OPML conversion.

The practical package-nerd pitch is that it is lighter than Newsboat but still serious about feed formats and local state. Release notes around 0.30 and 0.31 are especially relevant for packagers because they removed yajl and ncurses as build dependencies and leaned more heavily on SQLite and a smaller dependency set.

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

Newsraft is best treated as an emerging alternative rather than established infrastructure. It is worth enriching because its config/data paths and executable behavior are distinct from Newsboat, but claims about broad adoption should stay modest.

### 时间线

- 2022-03-29: Codeberg repository created.
- 2024: 0.26 release added a changelog and changed threading/download behavior.
- 2025: 0.30 and 0.31 removed yajl and ncurses dependencies, improving the packaging story.
- 2026-04-01: 0.36 release noted macOS build-instruction updates and other fixes.
- 2026-07-01: Homebrew formula version observed as 0.36, with 263 formula installs over the preceding 365-day analytics window.

### Related projects

- Newsboat
- curl
- expat
- gumbo-parser
- SQLite

### 来源

- <https://codeberg.org/api/v1/repos/newsraft/newsraft>
- <https://codeberg.org/newsraft/newsraft>
- <https://codeberg.org/newsraft/newsraft/raw/branch/main/README.md>
- <https://codeberg.org/newsraft/newsraft/raw/branch/main/doc/changes.md>
- <https://formulae.brew.sh/api/formula/newsraft.json>
- <https://newsraft.codeberg.page/>


## 安全说明

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:** newsraft
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - newsraft: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/newsraft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - newsraft - 0.37-r0: normalized package name match | Alpine Linux edge package indexes: newsraft from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Feed reader with text-based user interface | https://codeberg.org/newsraft/newsraft
- apk - newsraft-doc - 0.37-r0: normalized package name match | Alpine Linux edge package indexes: newsraft-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Feed reader with text-based user interface (documentation) | https://codeberg.org/newsraft/newsraft
- MacPorts - newsraft: normalized package name match | MacPorts ports tree: net/newsraft/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [scdoc](https://pkg.so/zh-hans/brew/scdoc/) - Build dependency declared by Homebrew.
- [newsboat](https://pkg.so/zh-hans/brew/newsboat/) - Shares pkgdb curated category or tags: atom, cli, feed-reader, feeds, productivity.
- [goread](https://pkg.so/zh-hans/brew/goread/) - Shares pkgdb curated category or tags: atom, cli, feed-reader, productivity, rss.
- [nom](https://pkg.so/zh-hans/brew/nom/) - Shares pkgdb curated category or tags: cli, feed-reader, productivity, rss, terminal.
- [miniflux](https://pkg.so/zh-hans/brew/miniflux/) - Shares pkgdb curated category or tags: atom, cli, feed-reader, productivity, rss.
- [bulletty](https://pkg.so/zh-hans/brew/bulletty/) - Shares pkgdb curated category or tags: atom, cli, feed-reader, productivity, rss.
- [snownews](https://pkg.so/zh-hans/brew/snownews/) - Shares pkgdb curated category or tags: atom, cli, productivity, rss, terminal.
- [matcha](https://pkg.so/zh-hans/brew/matcha/) - Shares pkgdb curated category or tags: cli, feed-reader, productivity, rss.
- [tmux](https://pkg.so/zh-hans/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity, terminal.

## Combined YAML source

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