# Install teip with Homebrew, Nix

Masking tape to help commands "do one thing well". Version 2.3.3 via Homebrew; verified 2026-06-22.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/teip>
- **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>
- **Upstream docs:** <https://github.com/greymd/teip#readme>
- **License:** MIT
- **Source archive:** <https://github.com/greymd/teip/archive/refs/tags/v2.3.3.tar.gz>
- **Last updated:** 2026-06-22T14:06:27-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- teip (cli)
- teip (alias)

## Dependencies

- oniguruma

## Build dependencies

- pkgconf
- rust

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.3.3
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/greymd/teip
- Upstream latest detected: v2.3.3 (current)
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** teip
- **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 - 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


## 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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [oniguruma](https://www.automicvault.com/pkg/brew/oniguruma/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [chars](https://www.automicvault.com/pkg/brew/chars/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-processing.
- [fzy](https://www.automicvault.com/pkg/brew/fzy/) - Shares av.db curated category or tags: cli, developer-tools, terminal, unix.
- [xpipe](https://www.automicvault.com/pkg/brew/xpipe/) - Shares av.db curated category or tags: cli, developer-tools, pipeline, unix.
- [chalk-cli](https://www.automicvault.com/pkg/brew/chalk-cli/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [chatblade](https://www.automicvault.com/pkg/brew/chatblade/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ddgr](https://www.automicvault.com/pkg/brew/ddgr/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [figlet](https://www.automicvault.com/pkg/brew/figlet/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [fx](https://www.automicvault.com/pkg/brew/fx/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [pyp](https://www.automicvault.com/pkg/brew/pyp/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, processing, text.

## Combined YAML source

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