# 使用 Homebrew, Nix 安装 bagels

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

## 安装

```sh
sudo av install brew:bagels
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bagels
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bagels
```

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

## 软件包事实

- **软件包键:** brew:bagels
- **软件包管理器:** Homebrew
- **版本:** 0.3.12
- **来源摘要:** Powerful expense tracker that lives in your terminal
- **主页:** <https://github.com/EnhancedJax/Bagels>
- **最后更新:** 2026-06-20T10:28:46Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bagels (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Bagels is a terminal user interface expense tracker built for local personal finance workflows. It is a newer example of the Textual-era Python TUI wave: polished terminal software distributed through Python packaging, Homebrew, and Nix.

### 项目历史

The EnhancedJax/Bagels GitHub repository was created in November 2024. Its README describes Bagels as a TUI application for tracking and analyzing money flow with accounts, categories, splits, transfers, records, recurring transaction templates, insights, filters, graphs, budgets, and customizable keybindings.

The README explains the motivation as habit-building: the author found it easier to track expenses at the end of the day in a fast local terminal workflow. It also states that Bagels is built with Textual and was heavily inspired by posting.

### 采用历史

Bagels moved quickly from a GitHub project to packaged CLI: the README lists uv as the recommended installer, plus Homebrew, pipx, conda-forge, and X-CMD options. The batch metadata also shows Homebrew and Nix packaging.

By June 2026, GitHub metadata showed thousands of stars, unusually high for a young personal-finance TUI. That suggests broader interest in terminal-native productivity apps, even though its formal release history only starts in late 2024.

### 使用方式

The normal command is bagels to start the TUI. The README also documents bagels --at to choose a storage location and bagels locate database or bagels locate config to find local files.

Bagels is used for local tracking rather than bank-synced accounting. Its roadmap explicitly lists bank sync as backlog, while existing features emphasize manual records, templates, budgets, and insights.

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

Bagels matters to package nerds because it shows a modern Python app being packaged as a real end-user terminal application, not just a library. uv, pipx, Homebrew, conda-forge, and Nix all serve different installer cultures for the same TUI.

It is also a good example of terminal UI packaging pressures: users expect a single executable, local data, discoverable config paths, and a modern terminal, while maintainers still manage Python versions and application dependencies.

### 时间线

- 2024-11: GitHub repository created and early 0.1.x releases published.
- 2025-04: 0.3.8 released during active feature iteration.
- 2025-07: 0.3.12 released.
- 2026: Batch package metadata shows Homebrew and Nix availability.

### Related projects

- Bagels is built with Textual and the README says it was heavily inspired by posting.
- It is adjacent to terminal productivity and personal-finance tools, especially local-first expense trackers and budget managers.

### 来源

- <https://github.com/EnhancedJax/Bagels>
- <https://github.com/EnhancedJax/Bagels/releases>
- <https://pypi.org/project/bagels/>
- <https://textual.textualize.io/>
- source_facts.package-manager


## 安全说明

没有找到 bagels 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: $XDG_CONFIG_HOME/bagels/config.yaml
## 其他软件包管理器记录

- Nix - bagels: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bagels/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/bagels.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bagels.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
