Installation Create Gemfile Add following gems: gem 'sorbet', :group => :development gem 'sorbet-runtime' gem 'tapioca', require: false, :group => :development Run bundle install command Generating required files for sorbet/tapioca Run bundle exec tapioca init for generating RBI files, which describe type system of installed gems To update rbi for gems run bundle exec tapioca gems for re-generating RBI files. To force regenerate RBI files, add --all flag Using sorbet in file to provide information for LSP/etc At header of file write type declaration: # typed: strict if you want all methods/props/etc have sig(signature) for static checs # typed: true if you want only type errors # typed: false to ignore whole file