# Install teip with Homebrew, Nix

Masking tape to help commands "do one thing well". Version 2.3.3 via Homebrew; verified 2026-06-22. Also installable with nix: nix profile install nixpkgs#teip.

## Install

```sh
sudo av install brew:teip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install teip
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#teip
```

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

## Package facts

- **Package key:** brew:teip
- **Package manager:** Homebrew
- **Version:** 2.3.3
- **Source summary:** Masking tape to help commands "do one thing well"
- **Homepage:** <https://github.com/greymd/teip>
- **Repository:** <https://github.com/greymd/teip>
- **Last updated:** 2026-06-22T14:06:27-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- teip (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.3.3
## Project history and usage

teip is a Rust command-line text-processing helper whose project slogan is masking tape to help commands do one thing well. It lets users select ranges, lines, fields, regex matches, or CSV fields from standard input, run another command only on that selected part, and splice the result back into the original stream.

### Project history

The public repository dates to 2020 by its first GitHub release, v1.0.0, published on June 1, 2020. The README presents the tool as a Unix pipeline companion rather than a replacement for sed, awk, grep, cut, tr, or date: teip supplies the selection and replacement scaffolding so existing commands can focus on the selected text.

By v2.3.3 in April 2026, the project had grown into a packaged Rust CLI with Homebrew, prebuilt Linux deb/rpm artifacts, Windows installer artifacts, crates.io installation through Cargo, and optional Oniguruma regex support.

### Adoption history

teip's adoption is niche but clear: it appeals to shell users who like small composable commands but often need to transform only one part of a line, one CSV field, or the context around a match. The README documents Homebrew installation for macOS and Linux, Cargo installation, package artifacts, and Windows support, showing a package-friendly distribution model.

Its GitHub page lists hundreds of stars and multiple releases, but its real package-manager niche is ergonomic Unix plumbing: make a hard one-liner readable by keeping selection in teip and letting the target command remain ordinary.

### How it is used

Official examples include converting timestamps in `/var/log/secure`, replacing text only on lines containing a pattern, uppercasing a selected CSV field, editing several TSV fields, and applying a command to lines around grep matches. It also supports aliases for grep, sed, and awk style selection and environment variables for choosing GNU variants such as ggrep or gsed.

Package users care because teip adds one reusable primitive to the shell toolbox instead of requiring bespoke awk or Perl snippets for every partial-line transformation.

### Why package nerds care

teip is package-nerd significant as a modern Rust take on classic Unix composition. It is small, scriptable, and intentionally dependent on the user's existing command set, which makes it attractive to people who collect sharp terminal filters.

### Timeline

- 2020: v1.0.0 first release published.
- 2020-2026: Releases grew through v1.x and v2.x tags.
- 2026: v2.3.3 release fixed packaging/release automation details, including RPM digest compatibility.

### Related projects

- Related tools include sed, awk, grep, cut, tr, date, xargs-like shell composition tools, and Rust CLI packages distributed through Cargo and Homebrew.

### Sources

- <https://github.com/greymd/teip/blob/master/Cargo.toml>
- <https://github.com/greymd/teip/blob/master/README.md>
- <https://github.com/greymd/teip/releases/tag/v1.0.0>
- <https://github.com/greymd/teip/releases/tag/v2.3.3>
- source_facts.description


## Security Notes

narrow executable package without higher-risk signals.

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

## Other Package-Manager Records

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


## Sources

- 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
