pkg.soopen package index

brew / 順位 960

periphery を Homebrew, Nix でインストール

periphery のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install periphery

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#periphery

nixpkgs package indexes · pkgs/by-name/pe/periphery/package.nix · ソース: api.github.com

概要

パッケージ概要

Identify unused code in Swift projects

コマンドとエイリアス

  • periphery

履歴

プロジェクトの歴史と使われ方

Periphery is an archived open-source command-line analyzer that identifies unused declarations in Swift projects by combining build index data with source analysis.

プロジェクトの歴史

Periphery was developed as an open-source Swift static-analysis tool centered on Xcode and Swift Package Manager projects. Its changelog identifies version 1.3.0 in February 2019 as the first open-source release.

The scanner evolved from syntax-oriented analysis toward index-store-based whole-project analysis, adding configuration persistence, CI reuse of existing builds, Bazel support, and handling for newer Swift and Xcode constructs.

The last documented release before archival was in the 3.8 series in July 2026. The official GitHub repository was archived the following month.

採用の歴史

Periphery was adopted in iOS, macOS, and Swift package maintenance as a focused way to detect declarations that compile but are no longer reachable. Its support for Xcode, Swift Package Manager, Bazel, local command-line use, and continuous integration made it practical across several Swift build workflows.

Official Homebrew support was added in 2019. In December 2024 the project moved from its custom Homebrew tap into Homebrew's main formula collection. The upstream repository was archived and made read-only on 12 August 2026.

使われ方

Run `periphery scan --setup` for guided initial configuration, then persist established options in `.periphery.yml` at the project root and use `periphery scan` for repeatable analysis.

Periphery builds projects to generate an index store, or CI can reuse a previous build with `--skip-build` and `--index-store-path`. All relevant targets must be built to reduce false positives; standalone frameworks may require `--retain-public`.

パッケージ好きにとっての重要性

Periphery fills a narrow gap between compiler diagnostics and general linting: it builds or consumes an index store, constructs a declaration-reference graph, and searches that graph for unused code across project targets.

Its archived status is operationally important to package users. Existing releases remain useful, but adopters should account for the absence of ongoing upstream maintenance when new Swift, Xcode, or project-file formats appear.

タイムライン

  • 2019: Version 1.3.0 is identified as the first open-source release.
  • 2019: Official Homebrew installation support is added.
  • 2021: Guided setup gains support for saving `.periphery.yml`.
  • 2024: Periphery moves from its custom tap into Homebrew's main formula collection.
  • 2026: Version 3.8.0 is released in July.
  • 2026: The upstream repository is archived on 12 August.

Related projects

  • SwiftLint enforces Swift style and conventions, while SwiftFormat rewrites Swift source into a consistent format. Both address different code-quality concerns from Periphery's unused-code reachability analysis.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 5 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.periphery.yml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
peripherycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-11-04
マネージャ版3.8.0
マネージャ更新日2026-09-16
ローカルデータOK
上流最新
検出された最新3.8.0

https://github.com/peripheryapp/periphery

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:periphery
バージョン3.8.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/periphery
ホームページhttps://github.com/peripheryapp/periphery
リポジトリhttps://github.com/peripheryapp/periphery
ライセンスMIT
ソースアーカイブhttps://github.com/peripheryapp/periphery/archive/refs/tags/3.8.0.tar.gz
最終更新2026-09-16T13:21:41Z
Pulseupdated
macOS 提供ライブラリcurl, libxml2, swift
Bottle利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameperiphery
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

periphery

nix profile install nixpkgs#periphery
  • normalized package name match
  • 一致条件: Periphery
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pe/periphery/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation