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

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

## 安装

```sh
sudo av install brew:bartib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bartib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bartib
```

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

### Linux

- apk (92%):

```sh
sudo apk add bartib
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#bartib
```

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

## 软件包事实

- **软件包键:** brew:bartib
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Simple timetracker for the command-line
- **主页:** <https://github.com/nikolassv/bartib>
- **仓库:** <https://github.com/nikolassv/bartib>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bartib (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Bartib is a Rust command-line time tracker that stores activities in a human-readable plaintext log and generates lists and reports from that file.

### 项目历史

The upstream repository describes Bartib as an easy-to-use time tracking tool for the command line. GitHub metadata shows the repository was created in 2021, and the changelog records version 1.0.0 in November 2021 with the basic tracking, reporting, and listing features.

Bartib's design has stayed intentionally file-centered. The documented file format is one activity per line with ISO-style local timestamps, project, and optional description fields, while the CLI can start, stop, continue, list, report, edit, and check activities.

### 采用历史

Bartib spread through developer-oriented distribution channels: GitHub releases, cargo install from crates.io, Homebrew, Alpine testing packages, MacPorts, and Nix. Its adoption is modest but healthy for a focused terminal productivity tool.

### 使用方式

A user records work with bartib start and bartib stop, reviews recent activity with list or report, and can point Bartib at a specific log file with --file or the BARTIB_FILE environment variable. Because the log is plaintext, manual edits and version-control-friendly workflows are practical.

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

Bartib is package-nerd significant as a modern Rust CLI that keeps state in transparent text instead of a service or database. It is easy to package, easy to audit, and useful as a small example of terminal-first personal productivity software.

### 时间线

- 2021-02-04: The GitHub repository is created.
- 2021-11-15: Bartib 1.0.0 is released with basic tracking, reporting, and listing features.
- 2021-11-25: Bartib 1.0.1 adds weekly report arguments and documentation fixes.
- 2024-02-29: Bartib 1.1.0 adds changelog tracking, rounding, change, sanity checks, compact project listing, and CI updates.

### Related projects

- Bartib is related to terminal time trackers such as timewarrior, watson, and ledger-style plaintext workflows, but its own format is simpler: start and stop timestamps, project, and description in a single editable text file.

### 来源

- <https://api.github.com/repos/nikolassv/bartib>
- <https://github.com/nikolassv/bartib/blob/master/CHANGELOG.md>
- <https://github.com/nikolassv/bartib/blob/master/README.md>
- <https://github.com/nikolassv/bartib/blob/master/doc/bartib-file-format.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - bartib: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bartib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - bartib - 1.1.0-r0: normalized package name match | Alpine Linux edge package indexes: bartib from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | simple timetracker for the command line | https://github.com/nikolassv/bartib
- MacPorts - bartib: normalized package name match | MacPorts ports tree: office/bartib/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/bartib.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bartib.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
