# Install tmpmail with Homebrew, apk, Nix

Temporary email right from your terminal written in POSIX sh. Version 1.2.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tmpmail
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tmpmail
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:tmpmail
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tmpmail>
- **Version:** 1.2.3
- **Source summary:** Temporary email right from your terminal written in POSIX sh
- **Homepage:** <https://github.com/sdushantha/tmpmail>
- **Repository:** <https://github.com/sdushantha/tmpmail>
- **Upstream docs:** <https://github.com/sdushantha/tmpmail#readme>
- **License:** MIT
- **Source archive:** <https://github.com/sdushantha/tmpmail/archive/refs/tags/v1.2.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tmpmail (cli)
- tmpmail (alias)

## Dependencies

- w3m
- xclip

## Uses from macOS

- jq

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.3
- Local data: ok
- Upstream repository: https://github.com/sdushantha/tmpmail
- Upstream latest detected: v1.2.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [w3m](https://www.automicvault.com/pkg/brew/w3m/) - Runtime dependency declared by Homebrew.
- [xclip](https://www.automicvault.com/pkg/brew/xclip/) - Runtime dependency declared by Homebrew.
- [checkdmarc](https://www.automicvault.com/pkg/brew/checkdmarc/) - Shares av.db curated category or tags: cli, email, networking.
- [fetchmail](https://www.automicvault.com/pkg/brew/fetchmail/) - Shares av.db curated category or tags: cli, email, networking.
- [getmail6](https://www.automicvault.com/pkg/brew/getmail6/) - Shares av.db curated category or tags: cli, email, networking.
- [isync](https://www.automicvault.com/pkg/brew/isync/) - Shares av.db curated category or tags: cli, email, networking.
- [mailutils](https://www.automicvault.com/pkg/brew/mailutils/) - Shares av.db curated category or tags: cli, email, networking.
- [mpop](https://www.automicvault.com/pkg/brew/mpop/) - Shares av.db curated category or tags: cli, email, networking.
- [msmtp](https://www.automicvault.com/pkg/brew/msmtp/) - Shares av.db curated category or tags: cli, email, networking.
- [sendemail](https://www.automicvault.com/pkg/brew/sendemail/) - Shares av.db curated category or tags: cli, email, networking.
- [ggh](https://www.automicvault.com/pkg/brew/ggh/) - Local package facts share a topical domain. Shared terms: cli, networking, terminal, your.
- [mapscii](https://www.automicvault.com/pkg/brew/mapscii/) - Local package facts share a topical domain. Shared terms: cli, networking, terminal, your.
- [superseedr](https://www.automicvault.com/pkg/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/automic-vault/db/blob/main/combined/tmpmail.yml)


## Sources

- 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
