Automic VaultAutomic Vault

brew

closure-compiler を Homebrew, apt でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install closure-compiler

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install closure-compiler

Debian stable package indexes · closure-compiler · ソース: deb.debian.org

概要

パッケージ概要

JavaScript optimizing compiler

コマンドとエイリアス

  • closure-compiler

履歴

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

Closure Compiler is Google's JavaScript checker and optimizer, descended from the Closure Tools release that made Google's internal large-scale JavaScript tooling available to external developers. Its package-manager story is unusual because the compiler is a Java project with Maven distribution, npm wrappers, and OS package formulas rather than a single canonical CLI channel.

プロジェクトの歴史

Google introduced Closure Tools in 2009, including Closure Compiler, Closure Library, Closure Templates, and Closure Inspector. The compiler's role was to parse JavaScript, perform type and syntax checks, remove dead code, and rewrite code for smaller downloads and faster execution.

The current GitHub repository is maintained by Google and documents the compiler as a whole-program optimizer whose strongest mode, ADVANCED, expects code written with Closure Compiler's assumptions in mind. The README also records the project's long relationship with Closure Library style modules and its more limited fit with modern arbitrary JavaScript bundles.

採用の歴史

Google's launch post tied Closure Tools to JavaScript-heavy products such as Gmail, Google Docs, and Google Maps, which made the compiler historically important as a public version of infrastructure used in large browser applications.

Distribution broadened beyond direct Java JAR usage: the upstream README points to Maven artifacts and notes npm/Yarn installation through the separate google-closure-compiler npm packaging maintained outside Google. The Homebrew, Debian, and Ubuntu package-manager facts in the input show that the CLI also became a conventional system package.

使われ方

Typical CLI use compiles one or more JavaScript inputs to an output file, with SIMPLE or ADVANCED optimization levels. The compiler can also check types and conformance, transpile newer JavaScript for older browsers, emit source maps, and split output into loadable chunks.

The project is best treated as a specialized optimizer for codebases prepared for its rules, especially when property renaming, externs, and Closure-style module conventions matter.

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

Closure Compiler matters to package nerds because it crosses packaging cultures: Java artifacts, npm command wrappers, Linux distro packages, and Homebrew all expose the same optimizer with different expectations about runtime, update cadence, and command names.

It is also a useful example of a package whose canonical upstream warns that one popular distribution path, npm, is built by an outside maintainer from a separate repository, so package provenance matters.

タイムライン

  • 2009: Google introduced Closure Tools and open sourced Closure Compiler.
  • 2014: The current google/closure-compiler GitHub repository metadata was created.
  • 2024: The README documented deprecation or reduced support for some non-ADVANCED and non-Closure-style module paths.

Related projects

  • Closure Library, Closure Templates, and Closure Inspector were announced with Closure Compiler as related Closure Tools.
  • closure-compiler-npm is the separate npm packaging repository named by the upstream README.
  • Modern JavaScript bundlers and minifiers overlap with Closure Compiler in SIMPLE-style minification, while Closure Compiler remains distinctive as a whole-program optimizer.

セキュリティ状態

保護ツール対応はまだ見つかっていません

closure-compiler に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-26
マネージャ版20260720
マネージャ更新日2026-07-22
ローカルデータOK
上流not checked
検出された最新未検出

https://developers.google.com/closure/compiler

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:closure-compiler
バージョン20260720
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/closure-compiler
ホームページhttps://developers.google.com/closure/compiler
リポジトリhttps://github.com/google/closure-compiler
上流ドキュメントhttps://developers.google.com/closure/compiler/docs/overview
ライセンスApache-2.0
ソースアーカイブhttps://search.maven.org/remotecontent?filepath=com/google/javascript/closure-compiler/v20260720/closure-compiler-v20260720.jar
最終更新2026-07-22T00:15:55Z
Pulseupdated
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Debian apt95%

closure-compiler 20130227+rhino-2

JavaScript optimizing compiler

https://developers.google.com/closure/compiler/

sudo apt install closure-compiler
  • Section: java
  • Architecture: all
  • 4 依存関係
  • normalized package name match
  • 一致条件: Closure Compiler
Debian stable package indexes · deb.debian.org · Debian stable package indexes: closure-compiler from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libclosure-compiler-java 20130227+rhino-2

JavaScript optimizing compiler - library package

https://developers.google.com/closure/compiler/

sudo apt install libclosure-compiler-java
  • Section: java
  • Architecture: all
  • Source Package: closure-compiler
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Closure Compiler
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libclosure-compiler-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libclosure-compiler-java-doc 20130227+rhino-2

JavaScript optimizing compiler - Javadoc

https://developers.google.com/closure/compiler/

sudo apt install libclosure-compiler-java-doc
  • Section: doc
  • Architecture: all
  • Source Package: closure-compiler
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Closure Compiler
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libclosure-compiler-java-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

closure-compiler 20130227+rhino-2

JavaScript optimizing compiler

https://developers.google.com/closure/compiler/

sudo apt install closure-compiler
  • Section: universe/java
  • Architecture: all
  • 4 依存関係
  • normalized package name match
  • 一致条件: Closure Compiler
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: closure-compiler from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libclosure-compiler-java 20130227+rhino-2

JavaScript optimizing compiler - library package

https://developers.google.com/closure/compiler/

sudo apt install libclosure-compiler-java
  • Section: universe/java
  • Architecture: all
  • Source Package: closure-compiler
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Closure Compiler
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libclosure-compiler-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libclosure-compiler-java-doc 20130227+rhino-2

JavaScript optimizing compiler - Javadoc

https://developers.google.com/closure/compiler/

sudo apt install libclosure-compiler-java-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: closure-compiler
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Closure Compiler
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libclosure-compiler-java-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

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

このページは 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment