Sourcegraph docs Sourcegraph docs

Sections

  • Getting started
  • Code search
    • Tutorials
    • How-to guides
    • Explanations
    • Reference
  • Code navigation
    • How-to guides
    • Explanations
    • Reference
  • Batch Changes
    • Quickstart
    • Explanations
    • Tutorials
    • How-to guides
    • References
  • Code Insights
    • Quickstart
    • Explanations
    • How-to guides
    • References
  • Notebooks
    • Quickstart
  • Code monitoring
    • Quickstart
    • Explanations
    • How-to guides
  • Integrations
    • Browser extension
    • Editors
    • Browser search engine
  • Extensions
  • CLI
    • Quickstart
    • Explanations
    • How-to guides
    • References
  • Adopting
  • Cloud
  • Administration
    • Deploy
    • Upgrade
    • Configuration
    • Code hosts
    • User authentication
    • Extension registry
    • Observability
    • Analytics
    • FAQ
    • Troubleshooting
    • How-to guides
    • Pricing
  • Development
    • Setup
    • How-to guides
    • Background information
    • Contributing
  • Dotcom

  • ★ Search query syntax
  • ★ Sourcegraph API
  • ★ Changelog

External

  • About Sourcegraph
  • Sourcegraph.com

Sourcegraph

On this page:

  • Deploy Sourcegraph
    • Cloud
    • Self-hosted
    • Local machine
  • Quickstart
  • Community
Edit this page

Sourcegraph

Sourcegraph is a code search and intelligence platform. Devs use it to search, understand, and fix code across large codebases.

To try Sourcegraph on 2 million open-source repositories, visit Sourcegraph.com.

Deploy Sourcegraph

Sourcegraph is runnable in a variety of environments, from cloud to self-hosted to your local machine.

Learn more about our deployment methods

Cloud

Sourcegraph Cloud

A single-tenant instance managed by Sourcegraph

Sign up

Self-hosted

aws-logo aws-logo

AWS

Launch a pre-configured Sourcegraph instance from an AWS AMI

aws-logo

Google Compute Engine

Launch a pre-configured Sourcegraph instance from a GCE Image

azure-logo

Azure

Deploy onto Microsoft Azure

aws-logo aws-logo

AWS One-Click

Deploy onto AWS in one click

digital-ocean-logo

DigitalOcean

Deploy onto DigitalOcean

docker-compose-logo

Docker Compose

Deploy with Docker Compose

private-cloud-logo

Private cloud

Deploy into a generic cloud environment

kubernetes-logo

Kubernetes

Deploy a multi-node cluster

Enterprise-only

Local machine

docker-logo

Docker Container

Spin up a local Sourcegraph instance with pure docker

k3s-logo

K3s

Spin up a local Sourcegraph instance with Kubernetes

minikube-logo

Minikube

Spin up a local Sourcegraph instance with Kubernetes


Quickstart

Sourcegraph 101

Learn how to use Sourcegraph.

Sourcegraph Tour

Take a tour of Sourcegraph’s features using real-world examples and use cases.

Community

  • Blog
  • Discord
  • Twitter
  • Issue tracker
  • Contact us
  • About Sourcegraph
  • Sourcegraph.com
  • Code (GitHub)
  • Terms
  • Security
  • Privacy