Automic VaultAutomic Vault

brew

Install solargraph with Homebrew, Nix

Ruby language server. Version 0.60.2 via Homebrew; verified 2026-06-28.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install solargraph

local Homebrew formula metadata

overview

Package summary

Ruby language server

Commands and aliases

  • solargraph

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for solargraph. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
.solargraph.yml

executables

Installed executables

CommandKindExposureNote
solargraphcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.60.2
manager updated2026-06-28
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/castwide/solargraph

install metadata

Package metadata

Package keybrew:solargraph
Version0.60.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/solargraph
Homepagehttps://solargraph.org
Repositoryhttps://github.com/castwide/solargraph
Upstream docshttps://solargraph.org/guides
LicenseMIT
Source archivehttps://github.com/castwide/solargraph.git
Last updated2026-06-28T04:59:39Z
Pulseupdated
Dependenciesruby, xz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesolargraph
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

solargraph

nix profile install nixpkgs#solargraph
  • normalized package name match
  • Matched by: Solargraph
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: solargraph from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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