# 使用 Homebrew, apk, Nix 安装 tmpmail

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

## 安装

```sh
sudo av install brew:tmpmail
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tmpmail
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tmpmail
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#tmpmail
```

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

## 软件包事实

- **软件包键:** brew:tmpmail
- **软件包管理器:** Homebrew
- **版本:** 1.2.3
- **来源摘要:** Temporary email right from your terminal written in POSIX sh
- **主页:** <https://github.com/sdushantha/tmpmail>
- **仓库:** <https://github.com/sdushantha/tmpmail>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tmpmail (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tmpmail is a POSIX sh command-line utility for creating and reading temporary email addresses from the terminal.

### 项目历史

The official README describes tmpmail as a terminal temporary-email client that uses the 1secmail API to receive mail. It credits Mitch Weaver's 1secmail script as a major inspiration, placing tmpmail in the small-script tradition of wrapping web APIs for terminal use.

The project keeps the implementation deliberately portable: the README emphasizes POSIX sh and common command-line dependencies such as curl, jq, w3m, and xclip.

### 采用历史

tmpmail's own README documents AUR, Pacstall, Nixpkgs, and Docker installation paths. The supplied source facts additionally list Homebrew, Alpine, and Nix package-manager entries.

This distribution pattern fits the tool's purpose: users often want a disposable inbox while testing signups, verification flows, or mail delivery from a terminal session, so package-manager availability is part of the value.

### 使用方式

The README documents generating a random or custom temporary address, listing an inbox, opening a message by numeric ID, viewing the most recent message, copying the address to the clipboard, listing available domains, and rendering HTML email through a terminal or graphical browser.

In the package-nerd niche, tmpmail is commonly useful as a throwaway CLI dependency in testing, demos, and local scripts where setting up a real mailbox would be heavier than the task deserves.

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

tmpmail matters because it packages disposable email as a normal Unix command. Its design favors shells, pipes, text browsers, and package managers over hosted dashboards.

### 时间线

- 2026: GitHub shows the tmpmail repository with thousands of stars and a compact POSIX sh codebase.
- 2026: The batch source facts list tmpmail packages for Homebrew, Alpine, and Nix.

### Related projects

- 1secmail is the email API named by the tmpmail README.
- Mitch Weaver's 1secmail script is credited by the README as a major inspiration.

### 来源

- <https://github.com/sdushantha/tmpmail#readme>
- input.source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - tmpmail: normalized package name match | nixpkgs package indexes: pkgs/by-name/tm/tmpmail/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - tmpmail - 1.2.3-r2: normalized package name match | Alpine Linux edge package indexes: tmpmail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Temporary email right from your terminal written in POSIX sh | https://github.com/sdushantha/tmpmail
- apk - tmpmail-doc - 1.2.3-r2: normalized package name match | Alpine Linux edge package indexes: tmpmail-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Temporary email right from your terminal written in POSIX sh (documentation) | https://github.com/sdushantha/tmpmail


## Combined YAML source

View the package source record on GitHub. [combined/tmpmail.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tmpmail.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
