Universal Code Search: Move fast, even in big codebases.
Find and fix things across all of your code faster with Sourcegraph. Onboard to a new codebase, make large-scale refactors, increase efficiency, address security risks, root-cause incidents, and more.
This website is home to Sourcegraph's feature, installation, administration, and development documentation.
Getting started
★ Sourcegraph Cloud
Search 1 million+ open source repositories or your own repositories. No installation required.
★ Self-hosted instance
Deploy and manage your own Sourcegraph instance. Recommended for production deployments.
Managed instance
Get a Sourcegraph instance provisioned and managed by the Sourcegraph team.
Local instance
Quickly set up and try out Sourcegraph locally using Docker.
Quick install
You can quickly try out Sourcegraph locally using Docker, which takes only a few minutes and lets you try out all of its features:
docker run -d --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.39.0
For next steps, visit the Docker installation documentation.
Core documentation
Features and tutorials
- Tour: A walkthrough of Sourcegraph's features, with real-world example use cases.
- Using Sourcegraph
- How to run a Sourcegraph trial at your company
- Integrations with GitHub, GitLab, Bitbucket, etc.
- Extensions
- Chrome and Firefox browser extensions
- Site Administrator Quickstart
Reference
Cloud documentation
- Sourcegraph Cloud
- Differences between Sourcegraph Cloud and self-hosted
- Indexing open source code in Sourcegraph Cloud
Self-hosted documentation
- Install or update Sourcegraph
- Administration
Other links
- Contributing to Sourcegraph
- Sourcegraph handbook
- Sourcegraph blog
- @sourcegraph on Twitter
- Product Roadmap