Sourcegraph CLI logo

Sourcegraph CLI

Command-line client, called src, for working with a Sourcegraph code search instance from the terminal.

Open source (Apache-2.0)By Sourcegraph

Compare Sourcegraph CLI with another product

View the Sourcegraph CLI source code

Alternatives

See all alternatives

About Sourcegraph CLI

Sourcegraph CLI is the official command-line interface to Sourcegraph, the code search and code intelligence platform. The binary is called src and connects to a Sourcegraph instance, so you can work with it from a terminal or a script instead of the web interface.

The repository includes tooling for batch changes, which run across many repositories, and notes on use behind an authentication proxy and on Windows. The tool is written in Go and released under the Apache 2.0 licence.

Strengths

  • Scriptable access to a Sourcegraph instance
  • Supports batch changes across many repositories
  • Actively maintained by Sourcegraph

Limitations

  • Only useful if you have access to a Sourcegraph instance
  • The repository front page gives little usage documentation

Details

Pricing
FreeThe CLI is free and open source; it needs access to a Sourcegraph instance.
License
Apache-2.0
Developer
Sourcegraph
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Works offline
No
Best suited for
Developers and teams who already use Sourcegraph and want to script it
Last verified
Added

Report a wrong fact or a dead link on this listing