# 使用 Homebrew, Nix 安装 crystalline

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

## 安装

```sh
sudo av install brew:crystalline
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install crystalline
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#crystalline
```

  证据: nixpkgs package indexes: crystalline from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:crystalline
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/crystalline>
- **版本:** 0.18.0
- **来源摘要:** Language Server Protocol implementation for Crystal
- **主页:** <https://github.com/elbywan/crystalline>
- **仓库:** <https://github.com/elbywan/crystalline>
- **许可证:** MIT
- **源码归档:** <https://github.com/elbywan/crystalline/archive/refs/tags/v0.18.0.tar.gz>
- **最后更新:** 2026-05-30T21:55:45Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- crystalline (cli)
- crystalline (别名)

## 依赖

- bdw-gc
- crystal
- libevent
- libyaml
- llvm
- pcre2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.18.0
- 管理器更新时间: 2026-05-30
- 本地数据: OK
- 上游仓库: https://github.com/elbywan/crystalline
- 检测到的最新版本: v0.18.0 (当前)
## 项目历史与用法

Crystalline is a Language Server Protocol implementation written in and for Crystal. Its package-manager interest is that it packages editor support for a compiled language whose official compiler architecture makes full language-server behavior relatively hard.

### 项目历史

The project README describes Crystalline as an LSP server for Crystal and says it began as an experiment when there was no working Crystal LSP. The maintainer positioned it as a practical tool for editor features such as completion, go-to-definition, formatting, diagnostics, hover, and document symbols rather than as a complete language-intelligence platform.

### 采用历史

Official installation notes list pre-built binaries, Homebrew on macOS, Arch Linux packaging, and builds from source with Crystal shards. The Homebrew and Nix package-manager entries in the input show that it reached the cross-platform developer-tool packaging layer rather than remaining only a manually built Crystal shard.

### 使用方式

Crystalline is meant to run behind editor integrations. The README documents VS Code, Vim/Neovim through coc.nvim, and Emacs lsp-mode setups, with project behavior controlled from shard.yml entries for the entry point, monorepo projects, and Crystal compilation flags.

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

For package maintainers, Crystalline is mainly a binary LSP package with tight coupling to Crystal compiler versions. Its compatibility table maps Crystal versions to Crystalline releases, which matters for formula and distribution updates.

### 时间线

- 2020: GitHub release v0.1.0 was published for Crystal 0.35.1 compatibility.
- 2026: GitHub release v0.18.0 targets Crystal 1.20 compatibility.

### Related projects

- The README credits Scry, the earlier Crystal language server, as an inspiration and partial source of reused code.

### 来源

- <https://github.com/elbywan/crystalline#readme>
- <https://api.github.com/repos/elbywan/crystalline/releases?per_page=100>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** crystalline
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - crystalline: normalized package name match | nixpkgs package indexes: crystalline from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [pcre2](https://pkg.so/zh-hans/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Runtime dependency declared by Homebrew.
- [libevent](https://pkg.so/zh-hans/brew/libevent/) - Runtime dependency declared by Homebrew.
- [crystal](https://pkg.so/zh-hans/brew/crystal/) - Runtime dependency declared by Homebrew.
- [kotlin-language-server](https://pkg.so/zh-hans/brew/kotlin-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [phpantom-lsp](https://pkg.so/zh-hans/brew/phpantom-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [millet](https://pkg.so/zh-hans/brew/millet/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [lua-language-server](https://pkg.so/zh-hans/brew/lua-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [gopls](https://pkg.so/zh-hans/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [python-lsp-server](https://pkg.so/zh-hans/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [marksman](https://pkg.so/zh-hans/brew/marksman/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [bash-language-server](https://pkg.so/zh-hans/brew/bash-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
