# Install crystalline with Homebrew, Nix

Language Server Protocol implementation for Crystal. Version 0.18.0 via Homebrew; verified 2026-05-30.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install crystalline
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:crystalline
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/crystalline>
- **Version:** 0.18.0
- **Source summary:** Language Server Protocol implementation for Crystal
- **Homepage:** <https://github.com/elbywan/crystalline>
- **Repository:** <https://github.com/elbywan/crystalline>
- **Upstream docs:** <https://github.com/elbywan/crystalline#readme>
- **License:** MIT
- **Source archive:** <https://github.com/elbywan/crystalline/archive/refs/tags/v0.18.0.tar.gz>
- **Last updated:** 2026-05-30T21:55:45Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- crystalline (cli)
- crystalline (alias)

## Dependencies

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

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.18.0
- Package-manager updated: 2026-05-30
- Local data: ok
- Upstream repository: https://github.com/elbywan/crystalline
- Upstream latest detected: v0.18.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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

## Other Package-Manager Records

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [crystal](https://www.automicvault.com/pkg/brew/crystal/) - Runtime dependency declared by Homebrew.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Runtime dependency declared by Homebrew.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [kotlin-language-server](https://www.automicvault.com/pkg/brew/kotlin-language-server/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [millet](https://www.automicvault.com/pkg/brew/millet/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [phpantom-lsp](https://www.automicvault.com/pkg/brew/phpantom-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [vue-language-server](https://www.automicvault.com/pkg/brew/vue-language-server/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [ansible-language-server](https://www.automicvault.com/pkg/brew/ansible-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [bash-language-server](https://www.automicvault.com/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [clojure-lsp](https://www.automicvault.com/pkg/brew/clojure-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [codebook-lsp](https://www.automicvault.com/pkg/brew/codebook-lsp/) - Shares av.db 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/automic-vault/db/blob/main/combined/crystalline.yml)


## Sources

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