# clojure-lsp を Homebrew, MacPorts, Nix でインストール

clojure-lsp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:clojure-lsp
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install clojure-lsp
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clojure-lsp
```

  証拠: MacPorts ports tree: devel/clojure-lsp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#clojure-lsp
```

  証拠: nixpkgs package indexes: pkgs/by-name/cl/clojure-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:clojure-lsp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2026.07.06-14.34.19
- **ソース概要:** Language Server (LSP) for Clojure
- **ホームページ:** <https://clojure-lsp.io>
- **リポジトリ:** <https://github.com/clojure-lsp/clojure-lsp>
- **最終更新:** 2026-07-06T21:38:00Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- clojure-lsp (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2026.07.06-14.34.19
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/clojure-lsp/clojure-lsp#readme>
- <https://clojure-lsp.io/>
- <https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/settings.md>
- <https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/installation.md>
- <https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/features.md>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: .lsp/config.edn, ~/.config/clojure-lsp/config.edn, $XDG_CONFIG_HOME/clojure-lsp/config.edn
## 他のパッケージマネージャ記録

- Nix - clojure-lsp: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clojure-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - clojure-lsp: normalized package name match | MacPorts ports tree: devel/clojure-lsp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/clojure-lsp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/clojure-lsp.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
