# Install sttr with Homebrew, MacPorts, Nix, winget

CLI to perform various operations on string. Version 0.2.30 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:sttr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sttr
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sttr
```

  Evidence: MacPorts ports tree: textproc/sttr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sttr
```

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

### Windows

- winget (92%):

```sh
winget install --id abhimanyu003.sttr -e
```

  Evidence: Windows Package Manager source index: abhimanyu003.sttr from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:sttr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sttr>
- **Version:** 0.2.30
- **Source summary:** CLI to perform various operations on string
- **Homepage:** <https://github.com/abhimanyu003/sttr>
- **Repository:** <https://github.com/abhimanyu003/sttr>
- **Upstream docs:** <https://github.com/abhimanyu003/sttr#readme>
- **License:** MIT
- **Source archive:** <https://github.com/abhimanyu003/sttr/archive/refs/tags/v0.2.30.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- sttr (cli)
- sttr (alias)

## Build dependencies

- go

## 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: 0.2.30
- Local data: ok
- Upstream repository: https://github.com/abhimanyu003/sttr
- Upstream latest detected: v0.2.30 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

sttr is a small cross-platform command-line tool for transforming strings, files, and piped text. Its niche is the everyday terminal toolbox: hashing, encoding, decoding, case conversion, JSON/YAML conversion, and similar text operations without opening a larger editor or scripting language.

### Project history

Official README and documentation describe sttr as command-line software for quickly running transformation operations on strings. The project is implemented and distributed as a CLI with interactive, direct-argument, file-input, and pipeline modes.

### Adoption history

Official installation docs list quick shell installation, Homebrew, Go installation, and release binaries; the README also lists Snap, Arch, Docker, Winget, Scoop, X-CMD, Webi, and FreeBSD binaries. The input package facts show Homebrew, MacPorts, Nix, and Winget coverage.

### How it is used

Common usage is `sttr` for an interactive menu, `sttr md5 "Hello World"` for direct operation, file input such as `sttr base64-encode image.jpg`, pipelines such as `echo "Hello World" | sttr md5`, and chained processors such as base64 followed by md5.

### Why package nerds care

Package nerds care about sttr because it condenses a drawer of tiny text filters into one installable binary with shell-friendly input and output. It fits well in Homebrew, Winget, Nix, and other package indexes because it has no credential story and a clear CLI surface.

### Timeline

- Current: Official docs present sttr as a cross-platform CLI with interactive, direct, file, and pipeline usage.
- Current: Official installation docs list package-manager and binary distribution paths across macOS, Linux, Windows, and FreeBSD.

### Related projects

- sttr overlaps with classic Unix text filters, checksum tools, base encoders, JSON/YAML converters, and shell pipelines, but the official sources present it as a single bundled CLI rather than a library framework.

### Sources

- <https://abhimanyu003.github.io/sttr/>
- <https://github.com/abhimanyu003/sttr#readme>
- 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:** sttr
- **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 - sttr: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/sttr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - sttr: normalized package name match | MacPorts ports tree: textproc/sttr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - abhimanyu003.sttr: normalized package name match | Windows Package Manager source index: abhimanyu003.sttr from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [uni](https://www.automicvault.com/pkg/brew/uni/) - Shares av.db curated category or tags: cli, developer-tools, go, text-processing.
- [xurls](https://www.automicvault.com/pkg/brew/xurls/) - Shares av.db curated category or tags: cli, developer-tools, go, text-processing.
- [align](https://www.automicvault.com/pkg/brew/align/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [bsdconv](https://www.automicvault.com/pkg/brew/bsdconv/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [cconv](https://www.automicvault.com/pkg/brew/cconv/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [cmigemo](https://www.automicvault.com/pkg/brew/cmigemo/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [decasify](https://www.automicvault.com/pkg/brew/decasify/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [desed](https://www.automicvault.com/pkg/brew/desed/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [lpad-align](https://www.automicvault.com/pkg/npm/lpad-align/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, processing, string.

## Combined YAML source

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