title |
---|
Sourcegraph docs |
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.
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.
Get a Sourcegraph instance provisioned and managed by the Sourcegraph team. Local instance
Quickly set up and try out Sourcegraph locally using Docker.
NOTE: Looking for how to use Sourcegraph? Refer to our Using Sourcegraph guide!
NOTE: Unsure where to start, or need help? Reach out to us!
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.37.0
For next steps, visit the Docker installation documentation.
NOTE: Due to the Windows enviroment, using Sourcegraph with Windows currently isn't fully supported. Testing instructions for running Sourcegraph locally on a Windows machine can be found here
WARNING: We do not recommend using this method for a production instance - see Getting started for more options.
- 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
- Sourcegraph Cloud
- Differences between Sourcegraph Cloud and self-hosted
- Indexing open source code in Sourcegraph Cloud
- Install or update Sourcegraph
- Administration