Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 clojure-lsp

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clojure-lsp

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install clojure-lsp

MacPorts ports tree · devel/clojure-lsp/Portfile · 来源: api.github.com

Linux

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

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

概览

软件包摘要

Language Server (LSP) for Clojure

命令和别名

  • clojure-lsp

历史

项目历史与用法

clojure-lsp is the Language Server Protocol implementation for Clojure and ClojureScript. It packages static analysis, editor navigation, refactoring, lint-backed diagnostics, formatting, semantic tokens, code lenses, and related commands behind the standard LSP interface.

项目历史

The official repository was created in March 2018, and its GitHub releases include early release tags beginning in April 2018. The README describes the project as a Clojure and ClojureScript language server that takes a Cursive-like static-analysis approach to editor tooling.

The project grew from editor integration into a broader tool surface: the official README says its goal is to bring editing tools to all editors and also expose functionality programmatically through a CLI and API.

采用历史

Adoption followed the editor ecosystem rather than a single IDE. The project README describes clojure-lsp as the base for clients such as Emacs lsp-mode, VSCode Calva, vim, and other editors.

The official installation docs document native binaries and distribution through a custom Homebrew tap, install script, Nix, Arch AUR, Scoop on Windows, and GitHub releases. The supplied input also lists brew, MacPorts, and Nix package-manager coverage.

The README records Clojurists Together sponsorship in Q3 2021 and Q1 2022, a useful signal that the project had become shared Clojure tooling infrastructure rather than a one-editor plugin.

使用方式

Users install the clojure-lsp executable and connect it through an editor language client. Official settings docs describe project config in .lsp/config.edn, global config under ~/.config/clojure-lsp/config.edn or $XDG_CONFIG_HOME/clojure-lsp/config.edn, initialization options from clients, and classpath-provided config.

The official feature docs cover definition and reference lookup, rename, completion, Java support, code actions, code lenses, formatting, signature help, semantic tokens, call hierarchy, test and project trees, and diagnostics.

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

clojure-lsp matters to package-manager users because it turns a language ecosystem feature into a standalone, editor-neutral executable. The official installation page emphasizes GraalVM native binaries for Linux, macOS, and Windows, with Homebrew, Nix, AUR, Scoop, and GitHub release paths.

For Clojure tooling maintainers, it is also a convergence point: the settings docs describe classpath scanning for deps.edn, project.clj, build.boot, shadow-cljs.edn, bb.edn, and squint.edn, making it a bridge across several Clojure project formats.

时间线

  • 2018: GitHub repository created and early release tags published.
  • 2021: Clojurists Together sponsored clojure-lsp during Q3.
  • 2022: Clojurists Together sponsored clojure-lsp again during Q1.
  • 2026: Latest checked GitHub release was 2026.05.05-12.58.26, published on 2026-05-05.

Related projects

  • Related Clojure tooling includes clj-kondo, which the settings docs say clojure-lsp uses for linting and analysis; editor clients such as Emacs lsp-mode, VSCode Calva, and vim integrations; and project tools including deps.edn, Leiningen, Boot, shadow-cljs, Babashka, and Squint.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:server

安装行为

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

建议审查

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

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
.lsp/config.edn~/.config/clojure-lsp/config.edn$XDG_CONFIG_HOME/clojure-lsp/config.edn

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/clojure-lsp/clojure-lsp

安装元数据

软件包元数据

软件包键brew:clojure-lsp
版本2026.07.06-14.34.19
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/clojure-lsp
主页https://clojure-lsp.io
仓库https://github.com/clojure-lsp/clojure-lsp
上游文档https://clojure-lsp.io/
许可证MIT
源码归档https://github.com/clojure-lsp/clojure-lsp/releases/download/2026.07.06-14.34.19/clojure-lsp-standalone.jar
最后更新2026-07-06T21:38:00Z
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

clojure-lsp

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

clojure-lsp

sudo port install clojure-lsp
  • normalized package name match
  • 匹配方式:Clojure Lsp
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/clojure-lsp/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