# 使用 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
- **版本:** 0.18.0
- **来源摘要:** Language Server Protocol implementation for Crystal
- **主页:** <https://github.com/elbywan/crystalline>
- **仓库:** <https://github.com/elbywan/crystalline>
- **最后更新:** 2026-05-30T21:55:45Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- crystalline (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
