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.
Sourcegraph development is open source at github.com/sourcegraph/sourcegraph. If these docs don't solve your problem, check the issue tracker.
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.5
When Sourcegraph is ready, continue at http://localhost:7080. See site administration documentation for next steps.
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
The site administration documentation is about deploying and managing a Sourcegraph self-hosted instance.
See Sourcegraph extensions documentation to extend Sourcegraph with new features.
See the contributor documentation and the main Sourcegraph repository (open-source).
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.
- Sourcegraph open-source repository
- Issue tracker
- about.sourcegraph.com (general information about Sourcegraph)
- @srcgraph on Twitter