macOS
brew install srgnlocal Homebrew formula metadata
sudo port install srgnMacPorts ports tree · devel/srgn/Portfile · ソース: api.github.com
brew / 順位 8747
srgn のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install srgnlocal Homebrew formula metadata
sudo port install srgnMacPorts ports tree · devel/srgn/Portfile · ソース: api.github.com
nix profile install nixpkgs#srgnnixpkgs package indexes · pkgs/by-name/sr/srgn/package.nix · ソース: api.github.com
sudo pacman -S srgnArch Linux sync databases · srgn · ソース: geo.mirror.pkgbuild.com
概要
Code surgeon for precise text and code transplantation
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
srgn | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:srgn |
|---|---|
| バージョン | 0.14.2 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/alexpovel/srgn |
| リポジトリ | https://github.com/alexpovel/srgn |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 srgnソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.