Sourcegraph CLI

Interact with Sourcegraph from the command line interface.

src is a command line interface to Sourcegraph that allows you to search code from your terminal, create and apply batch changes, and manage and administrate repositories, users, and more.

Sourcegraph src CLI

A quickstart tutorial to learn about the src CLI in minutes.

Command reference

Check the commands available in the src CLI and their flags.

Create a batch change

src is the gateway to Sourcegraph's batch change functionality: find out how to create a batch change with it in less than 10 minutes.

Previous
References