Install the Gem
Solargraph is available as a Ruby gem.
gem install solargraph
To use the Solargraph language server, you need an editor that can act as a language client. Castwide supports integration with Visual Studio Code (very mature) and Atom (work in progress). There are also third-party integrations for several other editors, including Sublime Text, Eclipse, and vim/neovim.
Visual Studio Code
Solargraph integration with Visual Studio Code is officially supported with the Ruby Solargraph extension.
To install the extension:
Open the Extensions view.
Search for Solargraph.
Solargraph is available for Atom in the ruby-solargraph package.
For other editors, please refer to their language server documentation.