# 使用 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
- **版本:** 0.37
- **来源摘要:** Terminal feed reader
- **主页:** <https://codeberg.org/newsraft/newsraft>
- **最后更新:** 2026-08-01T12:53:07Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- newsraft (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


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