macOS
brew install clojurelocal Homebrew formula metadata
sudo port install clojureMacPorts ports tree · lang/clojure/Portfile · 来源: api.github.com
安装
brew install clojurelocal Homebrew formula metadata
sudo port install clojureMacPorts ports tree · lang/clojure/Portfile · 来源: api.github.com
sudo apk add clojureAlpine Linux edge package indexes · clojure · 来源: dl-cdn.alpinelinux.org
sudo apt install clojureDebian stable package indexes · clojure · 来源: deb.debian.org
sudo dnf install clojureFedora Rawhide package metadata · clojure · 来源: dl.fedoraproject.org
nix profile install nixpkgs#clojurenixpkgs package indexes · pkgs/by-name/cl/clojure/package.nix · 来源: api.github.com
sudo pacman -S clojureArch Linux sync databases · clojure · 来源: geo.mirror.pkgbuild.com
sudo zypper install clojureopenSUSE Tumbleweed package metadata · clojure · 来源: download.opensuse.org
概览
Dynamic, general-purpose programming language
历史
Clojure is a dynamic, general-purpose Lisp hosted on the JVM. Its official rationale frames it as a pragmatic language design effort for Java-class infrastructure, functional programming, persistent immutable data, and built-in concurrency support.
Clojure was created by Rich Hickey as a modern Lisp for an established host platform. The official rationale says it embraces the JVM, modernizes Lisp, fosters functional programming with immutable persistent data structures, and provides concurrency support through software transactional memory and agents.
The official releases page lists Clojure 1.0.0 in July 2009 and current stable Clojure 1.12.5 in May 2026. The official history page points to Rich Hickey's HOPL-IV paper, 'A History of Clojure,' as the project's long-form historical record.
Clojure adoption is tied to both JVM library distribution and command-line tools. The official downloads page gives Maven and deps.edn coordinates for the language artifact, and the Clojure CLI reference describes clj and clojure commands that run programs, start REPLs, invoke functions, run tools, and construct classpaths from deps.edn sources.
The supplied input shows broad package-manager distribution for the CLI package: apk, Homebrew, Debian, dnf, MacPorts, Nix, pacman, Ubuntu, and zypper.
The Clojure CLI is invoked as clojure or clj. Official CLI docs describe using deps.edn files to configure dependencies and classpaths, starting a REPL, executing functions with -X, running tools with -T, and running main namespaces or scripts with -M.
The deps.edn reference describes project paths, dependencies, aliases, Maven dependencies, Git dependencies, local dependencies, and tool definitions. User configuration lives in the Clojure CLI config directory, computed from CLJ_CONFIG, XDG_CONFIG_HOME, or ~/.clojure.
Clojure is package-nerd significant because the language runtime is a Maven artifact, the CLI is an OS-packageable tool, and deps.edn makes dependency coordinates a plain data file. That split lets the CLI version, the language artifact version, and project dependencies be reasoned about separately.
For Unix package managers, the brew formula ships the clj and clojure commands, while real Clojure programs commonly resolve org.clojure/clojure and libraries from Maven repositories. The official CLI docs also make tools executable through the same dependency-resolution model.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
deps.edn$CLJ_CONFIG/deps.edn$XDG_CONFIG_HOME/clojure/deps.edn~/.clojure/deps.edn可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clj | cli | 全局可执行文件 | |
clojure | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/clojure/brew-install
安装元数据
| 软件包键 | brew:clojure |
|---|---|
| 版本 | 1.12.5.1654 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clojure |
| 主页 | https://clojure.org |
| 仓库 | https://github.com/clojure/brew-install |
| 上游文档 | https://clojure.org/api/api |
| 许可证 | EPL-1.0 |
| 源码归档 | https://github.com/clojure/brew-install/releases/download/1.12.5.1654/clojure-tools-1.12.5.1654.tar.gz |
| 最后更新 | 2026-05-29T15:30:41Z |
| Pulse | updated |
| 依赖 | openjdk, rlwrap |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clojure |
| Version Scheme | 1 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clojure 1.12.0-1
Lisp dialect for the JVM
sudo apt install clojurelibclojure-java 1.12.0-1
Lisp dialect for the JVM (library)
sudo apt install libclojure-javaclojure
nix profile install nixpkgs#clojureclojure 1.11.1-2
Lisp dialect for the JVM
sudo apt install clojurelibclojure-java 1.11.1-2
Lisp dialect for the JVM (library)
sudo apt install libclojure-javaclojure 1.12.5-r0
The Clojure Programming Language
sudo apk add clojureclojure-doc 1.12.5-r0
The Clojure Programming Language (documentation)
sudo apk add clojure-docclojure 1.12.4-3.fc44
A dynamic programming language that targets the Java Virtual Machine
sudo dnf install clojureclojure 1.12.5.1654-1
Lisp dialect for the JVM
sudo pacman -S clojureclojure 1.12.3.1577-1.2
A dynamic programming language that targets the JVM
sudo zypper install clojureclojure
sudo port install clojure来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.