Sorbet review
Sorbet adds gradual static type checking and editor support to Ruby projects.
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Sorbet is an open-source static type checker for Ruby, aimed at teams that want to catch potential mistakes before code runs. Developers add method signatures and type annotations, then raise strictness file by file, which supports adoption in an existing codebase rather than requiring an all-at-once migration. It can fit small, mid-market, and enterprise teams, but its focus is specifically type checking, not a broad suite of static analysis checks.
Its main strength is the combination of gradual typing and editor support. Flow-sensitive typing helps analyze code paths, while the Sorbet Runtime gem can add runtime checks for annotations. RBI interfaces provide a way to describe libraries and dynamic code. Through Language Server Protocol support, compatible Ruby editors and text editors can offer autocomplete, documentation, and go-to-definition. Teams can also run Sorbet from the command line and include checks in CI, keeping analysis within existing development workflows.
Sorbet is free and open source, with local use rather than a hosted analysis service; deployment is self-hosted. That makes it a fit for teams prepared to manage their own Ruby tooling and build type coverage incrementally. Community support and documentation are the listed support channels. The trade-off is scope: Sorbet does not provide security analysis, autofix, or custom rules. Choose it when gradual Ruby typing and related editor features are the priority; consider a broader static-analysis tool if you need security checks or automated fixes alongside typing.
Sorbet pros and cons
- Where it wins
- Enable stricter type checks gradually, file by file.
- Add method signatures and runtime checks through Sorbet Runtime.
- Use LSP editor features including autocomplete and go-to-definition.
- Where it doesn't
- Focused on type checking rather than broader static analysis.
- No hosted analysis option; it runs locally or in CI.
- No autofix or custom-rule support.
Sorbet fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update
