Automic VaultAutomic Vault

brew

closure-compiler mit Homebrew, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für closure-compiler in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install closure-compiler

local Homebrew formula metadata

Linux

Debian aptverifiziert · 92%
sudo apt install closure-compiler

Debian stable package indexes · closure-compiler · Quelle: deb.debian.org

Überblick

Paketzusammenfassung

JavaScript optimizing compiler

Befehle und Aliase

  • closure-compiler

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

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

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für closure-compiler wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
closure-compilercliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-25
Manager-Version20260720
Manager aktualisiert2026-07-22
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

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

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:closure-compiler
Version20260720
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/closure-compiler
Homepagehttps://developers.google.com/closure/compiler
Repositoryhttps://github.com/google/closure-compiler
Upstream-Dokumentationhttps://developers.google.com/closure/compiler/docs/overview
LizenzApache-2.0
Quellarchivhttps://search.maven.org/remotecontent?filepath=com/google/javascript/closure-compiler/v20260720/closure-compiler-v20260720.jar
Zuletzt aktualisiert2026-07-22T00:15:55Z
Pulseupdated
Abhängigkeitenopenjdk
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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