Sourcegraph
Self-Hosted

Deploy and control Sourcegraph in your own infrastructure, or use Docker to install locally. Get started for free.

Designed For

Teams and enterprises

Collaborate with your team on any code host (including private hosts) and access advanced security functionality.

Install Sourcegraph locally

docker run --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.42.2Deploy to a server or cluster