Automic VaultAutomic Vault

brew

使用 Homebrew 安装 clojurescript

查看 clojurescript 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clojurescript

local Homebrew formula metadata

概览

软件包摘要

Clojure to JS compiler

命令和别名

  • cljsc

历史

项目历史与用法

ClojureScript is the Clojure-family compiler that targets JavaScript. Its official rationale presents JavaScript as the universal host platform and ClojureScript as a way to bring Clojure's data structures, functional programming, macros, reader, polymorphism, and state discipline to JavaScript environments.

项目历史

The official GitHub repository was created in July 2011. The ClojureScript rationale describes the project as replacing direct JavaScript authoring with Clojure while adopting Google Closure Library and Closure Compiler strategy for production-quality libraries and whole-program optimization.

The official differences page frames ClojureScript as sharing Clojure's identity model, immutable persistent collections, protocols, and REPL-driven development, with JavaScript-specific host interop and compilation constraints.

采用历史

ClojureScript adoption followed the rise of browser and JavaScript-hosted applications. Official docs include quick-start workflows for browser REPLs, Node.js execution, cljs.main, deps.edn dependencies, and standalone JAR use on Windows.

The official news archive shows continuing release activity from at least 2017 through 2026, including posts on node_modules integration, code splitting, command-line support, JavaScript tool integration, and 1.12.x releases. The supplied input lists Homebrew distribution for the cljsc executable package.

使用方式

The official quick start shows a deps.edn dependency on org.clojure/clojurescript and use of clj -M --main cljs.main to compile a namespace and start a REPL. It also documents running on Node.js and using a standalone cljs.jar on Windows.

The official reference documentation covers compiler options, REPL options, dependencies, foreign dependency packaging, advanced compilation, bootstrapping, Google Closure Library, source maps, JavaScript module support, JavaScript APIs, and async functions.

为什么软件包爱好者会关心

ClojureScript is package-nerd significant because it sits at the junction of Maven-style Clojure dependencies, JavaScript module interop, and Closure Compiler advanced optimization. Its package is not just a runtime but a compiler toolchain.

For package managers, the interesting bit is that a small CLI entry point such as cljsc represents a much larger cross-ecosystem compiler stack: Clojure, JVM tooling, cljs.main, Closure libraries, Closure Compiler, JavaScript modules, browser REPLs, and Node.js targets.

时间线

  • 2011: Official GitHub repository created.
  • 2017: Official ClojureScript news archive starts with posts on releases, code splitting, and node_modules integration.
  • 2018: Official news announced ClojureScript command-line support.
  • 2020: Official news discussed JavaScript tool integration and bundle targets.
  • 2025: Official quick start used org.clojure/clojurescript 1.12.145 as the tutorial dependency.
  • 2026: Official news announced ClojureScript 1.12.145 on May 7, 2026.

Related projects

  • Related projects include Clojure, cljs.main, Google Closure Library, Google Closure Compiler, Node.js, ClojureScript browser REPLs, and JavaScript module ecosystems. clojure-lsp also treats ClojureScript as a first-class analysis target.

安全态势

风险级别:绿色

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 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cljsccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.12.134
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/clojure/clojurescript

安装元数据

软件包元数据

软件包键brew:clojurescript
版本1.12.134
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/clojurescript
主页https://github.com/clojure/clojurescript
仓库https://github.com/clojure/clojurescript
上游文档https://clojurescript.org/guides/quick-start
许可证EPL-1.0
源码归档https://github.com/clojure/clojurescript/releases/download/r1.12.134/cljs.jar
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明
注意事项This formula is useful if you need to use the ClojureScript compiler directly. For a more integrated workflow use Leiningen, Boot, or Maven.

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment