Sourcegraph

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

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

Reference

Cloud documentation

Self-hosted documentation

Get help