macOS
brew install clojurescriptlocal Homebrew formula metadata
安装
brew install clojurescriptlocal Homebrew formula metadata
概览
Clojure to JS compiler
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cljsc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clojurescript |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.