# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tmpmail>
- **版本:** 1.2.3
- **来源摘要:** Temporary email right from your terminal written in POSIX sh
- **主页:** <https://github.com/sdushantha/tmpmail>
- **仓库:** <https://github.com/sdushantha/tmpmail>
- **许可证:** MIT
- **源码归档:** <https://github.com/sdushantha/tmpmail/archive/refs/tags/v1.2.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tmpmail (cli)
- tmpmail (别名)

## 依赖

- w3m
- xclip

## macOS 提供的库

- jq

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tmpmail
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [w3m](https://pkg.so/zh-hans/brew/w3m/) - Runtime dependency declared by Homebrew.
- [xclip](https://pkg.so/zh-hans/brew/xclip/) - Runtime dependency declared by Homebrew.
- [telnet](https://pkg.so/zh-hans/brew/telnet/) - Shares pkgdb curated category or tags: cli, networking, terminal.
- [mosh](https://pkg.so/zh-hans/brew/mosh/) - Shares pkgdb curated category or tags: cli, networking, terminal.
- [weechat](https://pkg.so/zh-hans/brew/weechat/) - Shares pkgdb curated category or tags: cli, networking, terminal.
- [msmtp](https://pkg.so/zh-hans/brew/msmtp/) - Shares pkgdb curated category or tags: cli, email, networking.
- [iftop](https://pkg.so/zh-hans/brew/iftop/) - Shares pkgdb curated category or tags: cli, networking, terminal.
- [swaks](https://pkg.so/zh-hans/brew/swaks/) - Shares pkgdb curated category or tags: cli, email, networking.
- [bandwhich](https://pkg.so/zh-hans/brew/bandwhich/) - Shares pkgdb curated category or tags: cli, networking, terminal.
- [ggh](https://pkg.so/zh-hans/brew/ggh/) - Local package facts share a topical domain. Shared terms: cli, networking, terminal, your.
- [mapscii](https://pkg.so/zh-hans/brew/mapscii/) - Local package facts share a topical domain. Shared terms: cli, networking, terminal, your.
- [superseedr](https://pkg.so/zh-hans/brew/superseedr/) - Local package facts share a topical domain. Shared terms: cli, networking, terminal, your.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
