Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install ktfmt

local Homebrew formula metadata

Linux

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

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

概要

パッケージ概要

Kotlin code formatter

履歴

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

ktfmt is Meta's Kotlin formatter, built to pretty-print Kotlin code deterministically and with minimal style choice. The project describes itself as based on google-java-format and intentionally non-customizable to promote consistency.

プロジェクトの歴史

The repository README describes ktfmt as a formatter that reformats Kotlin source code and compares its output with ktlint and IntelliJ formatting. Its website emphasizes that the same input always receives the same output, regardless of initial layout, so developers can avoid style debates.

採用の歴史

ktfmt is consumed both as a command-line jar and through integrations: a JetBrains IDE plugin, Gradle and Maven examples, Spotless integration, Maven Central artifacts, and Homebrew packaging. That puts it in the same culture as gofmt and google-java-format, where a formatter's value is partly social: teams agree to stop arguing about layout.

使われ方

Users run ktfmt from the command line, through build tooling, through Spotless, or through the IntelliJ and Android Studio plugin. The README documents editorconfig use for approximating ktfmt behavior in IDE editing and command-line options for whole-file or partial formatting.

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

ktfmt matters to package people because it packages style as an executable policy. It is a Kotlin example of formatter distribution via Maven Central, IDE plugins, build plugins, jars, and Homebrew, with very little configuration surface by design.

タイムライン

  • 2024-10-30: The v0.53 tag was published in the GitHub tag history.
  • 2025-06-25: The v0.56 tag was published in the GitHub tag history.
  • 2026-03-17: The v0.62 tag was published in the GitHub tag history.
  • 2026-06-24: Release 0.64 was published on GitHub.

Related projects

  • Related projects include google-java-format, ktlint, IntelliJ IDEA formatting, Android Studio, Spotless, Gradle, Maven, and Kotlin coding conventions.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

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
.editorconfig

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版0.64
マネージャ更新日2026-06-24
ローカルデータOK
上流最新
検出された最新v0.64

https://github.com/facebook/ktfmt

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ktfmt
バージョン0.64
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ktfmt
ホームページhttps://facebook.github.io/ktfmt/
リポジトリhttps://github.com/facebook/ktfmt
上流ドキュメントhttps://facebook.github.io/ktfmt
ライセンスApache-2.0
ソースアーカイブhttps://github.com/facebook/ktfmt/archive/refs/tags/v0.64.tar.gz
最終更新2026-06-24T03:35:16Z
Pulseupdated
依存関係openjdk@17
ビルド依存関係gradle
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namektfmt
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

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

Nix95%

ktfmt

nix profile install nixpkgs#ktfmt
  • normalized package name match
  • 一致条件: Ktfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kt/ktfmt/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
  • Nucleus package database
  • av.db category and tag curation
  • 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