Sourcegraph is a code search and browsing tool with code intelligence that helps developers write and review code. Learn more about Sourcegraph at about.sourcegraph.com.
Run a self-hosted Sourcegraph instance for your team:
docker run \ --publish 7080:7080 --rm \ --volume ~/.sourcegraph/config:/etc/sourcegraph \ --volume ~/.sourcegraph/data:/var/opt/sourcegraph \ --volume /var/run/docker.sock:/var/run/docker.sock \ sourcegraph/server:2.13.2
The user documentation is about how to use Sourcegraph. The most read docs are:
- Overview: What is Sourcegraph?
- Tour: A walkthrough of Sourcegraph’s features, with real-world example use cases.
- Code search
- Sourcegraph extensions
- Chrome and Firefox browser extensions
- Other integrations
- GraphQL API
For site administrators
The site administration documentation is about deploying and managing a Sourcegraph self-hosted instance.
For Sourcegraph extension authors
See Sourcegraph extensions documentation to extend Sourcegraph with new features.
For contributors to Sourcegraph
The Sourcegraph roadmap describes what’s coming next.
You can use Sourcegraph in 2 ways:
- Self-hosted Sourcegraph: Deploy and manage your own Sourcegraph instance.
- Sourcegraph.com: For public code only. No signup or installation required.
For self-hosted Sourcegraph instances, you run a Docker image or Kubernetes cluster on-premises or on your preferred cloud provider. There are 3 tiers: Core (free), Enterprise Starter, and Enterprise. Enterprise features require a Sourcegraph subscription.