# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bartib>
- **版本:** 1.1.0
- **来源摘要:** Simple timetracker for the command-line
- **主页:** <https://github.com/nikolassv/bartib>
- **仓库:** <https://github.com/nikolassv/bartib>
- **上游文档:** <https://github.com/nikolassv/bartib#readme>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://github.com/nikolassv/bartib/archive/refs/tags/v1.1.0.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- bartib (cli)
- bartib (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.1.0
- 本地数据: OK
- 上游仓库: https://github.com/nikolassv/bartib
- 检测到的最新版本: v1.1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [amp](https://www.automicvault.com/zh-hans/pkg/brew/amp/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [clock-rs](https://www.automicvault.com/zh-hans/pkg/brew/clock-rs/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [ekphos](https://www.automicvault.com/zh-hans/pkg/brew/ekphos/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [elio](https://www.automicvault.com/zh-hans/pkg/brew/elio/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [eureka](https://www.automicvault.com/zh-hans/pkg/brew/eureka/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [iamb](https://www.automicvault.com/zh-hans/pkg/brew/iamb/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [intelli-shell](https://www.automicvault.com/zh-hans/pkg/brew/intelli-shell/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [kibi](https://www.automicvault.com/zh-hans/pkg/brew/kibi/) - Shares av.db curated category or tags: cli, productivity, rust, terminal.
- [tock](https://www.automicvault.com/zh-hans/pkg/brew/tock/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, productivity, time.
- [clac](https://www.automicvault.com/zh-hans/pkg/brew/clac/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, productivity, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/bartib.yml](https://github.com/automic-vault/db/blob/main/combined/bartib.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
