Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 clojure

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clojure

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install clojure

MacPorts ports tree · lang/clojure/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add clojure

Alpine Linux edge package indexes · clojure · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install clojure

Debian stable package indexes · clojure · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install clojure

Fedora Rawhide package metadata · clojure · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#clojure

nixpkgs package indexes · pkgs/by-name/cl/clojure/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S clojure

Arch Linux sync databases · clojure · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install clojure

openSUSE Tumbleweed package metadata · clojure · 来源: download.opensuse.org

概览

软件包摘要

Dynamic, general-purpose programming language

命令和别名

  • clj
  • clojure

历史

项目历史与用法

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.

时间线

  • 2009: Clojure 1.0.0 listed on the official older releases page.
  • 2010: Clojure 1.1.0 and 1.2.x listed on the official older releases page.
  • 2017: Clojure 1.9.0 released with official release notes.
  • 2018: Clojure 1.10.0 released with official release notes.
  • 2021: HOPL-IV conference talk and Q&A for 'A History of Clojure.'
  • 2024: Clojure 1.12.0 released with official release notes.
  • 2026: Clojure 1.12.5 listed as stable release on May 12, 2026.

Related projects

  • Officially related projects include ClojureScript, ClojureCLR, tools.deps, the Clojure CLI, and the broader JVM/Maven ecosystem. clojure-lsp and ClojureScript build on Clojure's language and tooling conventions.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

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

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
deps.edn$CLJ_CONFIG/deps.edn$XDG_CONFIG_HOME/clojure/deps.edn~/.clojure/deps.edn

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

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
Pulseupdated
依赖openjdk, rlwrap
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

clojure 1.12.0-1

Lisp dialect for the JVM

http://clojure.org

sudo apt install clojure
  • Section: devel
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Clojure
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clojure from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libclojure-java 1.12.0-1

Lisp dialect for the JVM (library)

http://clojure.org

sudo apt install libclojure-java
  • Section: java
  • Architecture: all
  • Source Package: clojure
  • 3 依赖
  • normalized package name match
  • 匹配方式:Clojure
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libclojure-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

clojure

nix profile install nixpkgs#clojure
  • normalized package name match
  • 匹配方式:Clojure
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/clojure/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

clojure 1.11.1-2

Lisp dialect for the JVM

http://clojure.org

sudo apt install clojure
  • Section: universe/devel
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Clojure
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clojure from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libclojure-java 1.11.1-2

Lisp dialect for the JVM (library)

http://clojure.org

sudo apt install libclojure-java
  • Section: universe/java
  • Architecture: all
  • Source Package: clojure
  • 3 依赖
  • normalized package name match
  • 匹配方式:Clojure
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libclojure-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

clojure 1.12.5-r0

The Clojure Programming Language

https://clojure.org

sudo apk add clojure
  • License: EPL-1.0
  • Architecture: x86_64
  • Source Package: clojure
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clojure
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: clojure from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

clojure-doc 1.12.5-r0

The Clojure Programming Language (documentation)

https://clojure.org

sudo apk add clojure-doc
  • License: EPL-1.0
  • Architecture: x86_64
  • Source Package: clojure
  • normalized package name match
  • 匹配方式:Clojure
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: clojure-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

clojure 1.12.4-3.fc44

A dynamic programming language that targets the Java Virtual Machine

http://clojure.org/

sudo dnf install clojure
  • License: EPL-1.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: clojure
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clojure
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clojure from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

clojure 1.12.5.1654-1

Lisp dialect for the JVM

https://clojure.org/

sudo pacman -S clojure
  • License: EPL-1.0
  • Architecture: any
  • 2 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Clojure
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: clojure from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

clojure 1.12.3.1577-1.2

A dynamic programming language that targets the JVM

https://clojure.org/

sudo zypper install clojure
  • License: EPL-1.0
  • Category: Development/Languages/Other
  • Architecture: noarch
  • Source Package: clojure
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clojure
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clojure from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

clojure

sudo port install clojure
  • normalized package name match
  • 匹配方式:Clojure
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/clojure/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment