macOS
brew install srgnlocal Homebrew formula metadata
sudo port install srgnMacPorts ports tree · devel/srgn/Portfile · Quelle: api.github.com
brew / Rang 8747
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für srgn in AI-Agent-Workflows.
Installation
brew install srgnlocal Homebrew formula metadata
sudo port install srgnMacPorts ports tree · devel/srgn/Portfile · Quelle: api.github.com
nix profile install nixpkgs#srgnnixpkgs package indexes · pkgs/by-name/sr/srgn/package.nix · Quelle: api.github.com
sudo pacman -S srgnArch Linux sync databases · srgn · Quelle: geo.mirror.pkgbuild.com
Überblick
Code surgeon for precise text and code transplantation
Verlauf
srgn is a Rust command-line search and transformation tool that combines regular-expression scopes with optional syntax-aware scopes based on programming-language grammars. Its author characterizes it as a mix of `tr`, `sed`, `ripgrep`, and tree-sitter.
The public repository was created in 2023 and released v0.1.0 that October. The README records that its earliest core was a Rust rewrite of a tool devoted to German character substitutions; it then expanded into a general code-aware search and transformation utility.
The official installation guide documents release binaries, cargo-binstall, Homebrew, Nix and a repository flake, MacPorts, and compilation through Cargo. The package metadata additionally records a Pacman package, giving srgn unusually broad distribution for a focused refactoring CLI.
srgn can search or transform stdin and files with regular expressions, then narrow operations to syntax-aware language scopes. Actions include replacement, case conversion, deletion, squeezing, and language-specific transformations, and shell completions are built into the CLI.
srgn sits between traditional Unix text filters and IDE refactoring: it preserves a composable command-line interface while using parsers to select structural code regions. Its prebuilt binaries and presence across Cargo, Homebrew, Nix, MacPorts, and Pacman make it especially accessible to polyglot CLI users.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
srgn | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:srgn |
|---|---|
| Version | 0.14.2 |
| Paketmanager | Homebrew |
| Homepage | https://github.com/alexpovel/srgn |
| Repository | https://github.com/alexpovel/srgn |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
srgn
nix profile install nixpkgs#srgnsrgn 0.14.2-1
A code surgeon for precise text and code transplantation
https://github.com/alexpovel/srgn
sudo pacman -S srgnsrgn
sudo port install srgnQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.