# Install extract_url with Homebrew, Nix

Perl script to extracts URLs from emails or plain text. Version 1.6.2 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#extract_url.

## Install

```sh
sudo av install brew:extract_url
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install extract_url
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#extract_url
```

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

## Package facts

- **Package key:** brew:extract_url
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/extract_url>
- **Version:** 1.6.2
- **Source summary:** Perl script to extracts URLs from emails or plain text
- **Homepage:** <https://www.memoryhole.net/~kyle/extract_url/>
- **Repository:** <https://github.com/m3m0ryh0l3/extracturl>
- **Upstream docs:** <https://www.memoryhole.net/~kyle/extract_url/>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/m3m0ryh0l3/extracturl/archive/refs/tags/v1.6.2.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- extract_url (cli)
- extract_url (alias)

## Uses from macOS

- ncurses
- perl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.6.2
- Local data: ok
- Upstream repository: https://github.com/m3m0ryh0l3/extracturl
- Upstream latest detected: v1.6.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

extract_url.pl is a Perl utility that extracts URLs from MIME email messages or plain text, designed especially for use with the mutt email client and as a replacement or pre-parser for urlview.

### Project history

The official homepage documents version 1.6.1 and says the source repository moved from Google Code to GitHub. The GitHub repository description records it as automatically exported from code.google.com/p/extracturl.

### Adoption history

The supplied package metadata lists Homebrew and Nix packages. The official homepage also notes packaging-oriented changes such as a distribution-friendly package layout in the 1.5.7 release history.

### How it is used

The homepage documents piping email through extract_url.pl, using it with urlview, invoking it on message files, and configuring mutt macros. It also documents options for help, man output, list mode, plain-text mode, quoted-printable decoding, config file selection, and version output.

### Why package nerds care

extract_url.pl is a classic small Unix email helper: it composes through pipes, integrates with mutt, has a dotfile configuration path, and fills gaps in older URL selectors around MIME, quoted-printable, duplicate URLs, and shell-safe URL handling.

### Timeline

- 2008: Official NEWS records 1.3.x and 1.4 releases.
- 2009: Official NEWS records 1.5 release.
- 2013: Official NEWS records distribution-friendly packaging work in 1.5.7.
- 2015: GitHub repository was created from the former Google Code project.
- 2017: Official NEWS records 1.6.2 with dependency-location fixes and ALTSELECT default change.

### Related projects

- The official homepage compares extract_url.pl with urlview and urlscan.
- The documented workflow is primarily tied to mutt, while optional Perl modules such as URI::Find and Curses::UI broaden URL detection and interface behavior.

### Sources

- <http://www.memoryhole.net/~kyle/extract_url/>
- <https://github.com/m3m0ryh0l3/extracturl/blob/master/NEWS>
- <https://github.com/m3m0ryh0l3/extracturl/blob/master/README>
- <https://github.com/m3m0ryh0l3/extracturl/blob/master/extract_urlview.sample>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.extract_urlview, ~/.urlview
## Source Database Details

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

## Other Package-Manager Records

- Nix - extract_url: normalized package name match | nixpkgs package indexes: pkgs/by-name/ex/extract_url/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [par](https://pkg.so/brew/par/) - Shares pkgdb curated category or tags: cli, email, productivity, text-processing.
- [lbdb](https://pkg.so/brew/lbdb/) - Shares pkgdb curated category or tags: cli, email, mutt, productivity.
- [mhonarc](https://pkg.so/brew/mhonarc/) - Shares pkgdb curated category or tags: cli, email, perl, productivity.
- [aspell](https://pkg.so/brew/aspell/) - Shares pkgdb curated category or tags: cli, productivity, text-processing.
- [neomutt](https://pkg.so/brew/neomutt/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [mu](https://pkg.so/brew/mu/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [aerc](https://pkg.so/brew/aerc/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [offlineimap](https://pkg.so/brew/offlineimap/) - Shares pkgdb curated category or tags: cli, email, productivity.
- [urlscan](https://pkg.so/brew/urlscan/) - Local package facts share a topical domain. Shared terms: cli, email, mutt, or, productivity.
- [alot](https://pkg.so/brew/alot/) - Local package facts share a topical domain. Shared terms: cli, email, productivity, text.

## Combined YAML source

View the package source record on GitHub. [combined/extract_url.yml](https://github.com/mxcl/pkgdb/blob/main/combined/extract_url.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
