# 使用 Homebrew, Nix 安装 invoice

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

## 安装

```sh
sudo av install brew:invoice
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install invoice
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#invoice
```

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

## 软件包事实

- **软件包键:** brew:invoice
- **软件包管理器:** Homebrew
- **版本:** 0.1.0
- **来源摘要:** Command-line invoice generator
- **主页:** <https://github.com/maaslalani/invoice>
- **仓库:** <https://github.com/maaslalani/invoice>
- **最后更新:** 2026-07-26T04:07:50+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- invoice (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Invoice is a small Go command-line utility for generating PDF invoices from terminal arguments, environment variables, or imported JSON/YAML data. It belongs to the modern single-purpose CLI tradition: one binary, examples in the README, and binary distribution through GitHub releases and package managers.

### 项目历史

The public repository describes Invoice as a command-line invoice generator and documents the core workflow with `invoice generate`. The repository release list records an initial release in June 2023, with the README directing users to either install from Go source or download release binaries.

### 采用历史

Invoice gained package-manager visibility through the Homebrew formula and Nix metadata supplied in the input package facts. Its GitHub repository also shows a visible small-utility audience, with stars and forks centered around a compact CLI rather than a larger invoicing platform.

### 使用方式

The primary usage is generating a PDF invoice by supplying sender, recipient, line items, quantities, rates, tax, discount, notes, and output path on the command line. The README also documents environment variables for repeated values and importing JSON/YAML data for repeatable invoice generation.

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

Invoice is notable as a clean example of a personal-productivity CLI that does not try to become an accounting system. For package maintainers, it is a small Go binary with a direct upstream, a short release history, and behavior that is easy to smoke-test by generating a PDF.

### 时间线

- 2023-06: Public attention and initial GitHub release for the Invoice CLI.
- 2023: README documents Go installation, release binaries, CLI flags, environment variables, and JSON/YAML import.
- Package-manager era: Homebrew and Nix package the `invoice` executable.

### Related projects

- Go's module installer is an official installation route via `go install github.com/maaslalani/invoice@main`.
- Homebrew and Nix provide package-manager routes for users who prefer managed binaries.

### 来源

- <https://formulae.brew.sh/formula/invoice>
- <https://github.com/maaslalani/invoice>
- <https://github.com/maaslalani/invoice/releases>


## 安全说明

narrow executable package without higher-risk signals.

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

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

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