# Installer solargraph avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de solargraph pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:solargraph
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install solargraph
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#solargraph
```

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

## Faits du paquet

- **Clé du paquet:** brew:solargraph
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/solargraph>
- **Version:** 0.60.2
- **Résumé source:** Ruby language server
- **Page d'accueil:** <https://solargraph.org>
- **Dépôt:** <https://github.com/castwide/solargraph>
- **Docs amont:** <https://solargraph.org>
- **Licence:** MIT
- **Archive source:** <https://github.com/castwide/solargraph.git>
- **Dernière mise à jour:** 2026-06-28T04:59:39Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- solargraph (cli)
- solargraph (alias)

## Dépendances

- ruby
- xz

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.60.2
- gestionnaire mis à jour: 2026-06-28
- données locales: OK
- dépôt amont: https://github.com/castwide/solargraph
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

Solargraph is a Ruby language server distributed as a gem and packaged for developer environments that want Ruby autocomplete, diagnostics, inline documentation, and type-aware editor support.

### Historique du projet

The castwide/solargraph GitHub repository was created in March 2017, and RubyGems records version 0.1.0 on 2017-03-18. The gem was described early as IDE tools for code analysis and autocompletion, while the current README frames it as a Ruby language server.

Solargraph grew with the Language Server Protocol era. The README lists Visual Studio Code, Sublime Text, Vim and Neovim, Emacs, and Eclipse integrations, and the guide site describes editor integration as requiring a language client.

The project later expanded beyond autocomplete into diagnostics, inline documentation, type checking, YARD and RBS-aware code maps, Bundler-aware gem support, plugin support, and a separate documentation cache.

### Historique d'adoption

RubyGems is Solargraph's primary distribution channel, with the official gem metadata pointing to solargraph.org and the GitHub source. Homebrew and Nix packages make the same CLI available to users who prefer system package managers over gem install.

Editor integration drove adoption: the official README calls the VS Code extension out directly and lists third-party integrations for several common editors, making solargraph a common bridge between Ruby projects and LSP-capable editors.

### Modes d'utilisation

Developers install the solargraph command, generate or maintain project configuration with bundle exec solargraph config, and run the server through editor integrations using stdio or TCP socket modes.

Project-local configuration lives in .solargraph.yml at the repository root, with optional global configuration at ~/.config/solargraph/config.yml. The README also documents a cache directory at ~/.cache/solargraph and Bundler-aware usage with bundle exec solargraph socket or stdio.

### Pourquoi les passionnés de paquets s'y intéressent

Solargraph matters to package nerds because it turns Ruby's dynamic runtime, gems, YARD docs, RBS signatures, Bundler context, and editor protocols into one packaged CLI service.

It also illustrates a packaging split familiar to language ecosystems: the upstream artifact is a Ruby gem, but system package managers package it so editors and shell environments can depend on a stable solargraph executable.

### Chronologie

- 2017-03: GitHub repository and RubyGems 0.1.0 release appear.
- 2017-2020s: Solargraph becomes a Ruby LSP server integrated by VS Code and other editors.
- 2019: Version 0.33.0 adds type-checking functionality, according to the README.
- 2026: RubyGems lists Solargraph 0.60.2 with Ruby 3.1+ requirements and current source metadata.

### Related projects

- Language Server Protocol: the editor integration protocol Solargraph targets.
- YARD and RBS: documentation and type-information sources Solargraph uses for code maps.
- Bundler: important for running Solargraph in the same dependency context as a Ruby project.
- vscode-solargraph, nvim-lspconfig, coc-solargraph, eglot, and lsp-mode: editor integration paths listed by the upstream README.

### Sources

- current_curation.config-file-location
- <https://api.github.com/repos/castwide/solargraph>
- <https://github.com/castwide/solargraph#readme>
- <https://rubygems.org/api/v1/gems/solargraph.json>
- <https://rubygems.org/api/v1/versions/solargraph.json>
- <https://solargraph.org/guides/getting-started>
- source_facts.package-manager


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour solargraph. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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: .solargraph.yml
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** solargraph
- **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

## Autres enregistrements de gestionnaires de paquets

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


## Liens liés

- [Package publisher tools](https://pkg.so/fr/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [xz](https://pkg.so/fr/brew/xz/) - Runtime dependency declared by Homebrew.
- [ruby](https://pkg.so/fr/brew/ruby/) - Runtime dependency declared by Homebrew.
- [lua-language-server](https://pkg.so/fr/brew/lua-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, static-analysis.
- [python-lsp-server](https://pkg.so/fr/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, static-analysis.
- [ruby-lsp](https://pkg.so/fr/brew/ruby-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, ruby.
- [neocmakelsp](https://pkg.so/fr/brew/neocmakelsp/) - Shares pkgdb curated category or tags: autocomplete, cli, developer-tools, language-server, lsp.
- [erlang-language-platform](https://pkg.so/fr/brew/erlang-language-platform/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, static-analysis.
- [emmylua_ls](https://pkg.so/fr/brew/emmylua-ls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, static-analysis.
- [pylyzer](https://pkg.so/fr/brew/pylyzer/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, static-analysis.
- [gopls](https://pkg.so/fr/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.

## Combined YAML source

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


## Sources

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