Sourcegraph App
Sourcegraph App is a lightweight single-binary version of Sourcegraph for your local machine.
It runs alongside your IDE, to provide a better way to understand, browse, and search both the local you're working on as well as remote code on GitHub, GitLab, etc. - bringing Sourcegraph's powerful code search and IDE navigation straight to your laptop.
Pre-release
This is a pre-release / early access version of what will be presented at our Starship event on Mar 23rd. We're still improving things, so let us know if you encounter any issues.
For news and updates, be sure to follow us on Twitter and join our Discord.
Installation
Ensure you have git
installed / on your path, then install.
macOS: via homebrew:
brew install sourcegraph/app/sourcegraph
Linux: via deb pkg installer:
dpkg -i <file>.deb
Single-binary zip download:
Usage
Start Sourcegraph by running the following in a terminal:
sourcegraph
Sourcegraph will automatically add any repositories found below the directory you run sourcegraph
in.
Your browser should automatically open to http://localhost:3080 - this is the address of the Sourcegraph app.
Optional - batch changes & precise code intel
Batch changes and precise code intel require the following optional dependencies be installed and on your PATH:
- The
src
CLI (installation) docker
Troubleshooting
Since the Sourcegraph app is early-stages, you may run into issues. If you do, please let us know!
Known issues
macOS .zip download issues
macOS binaries are not yet code-signed, so you may need to right click on it -> open. If you use Homebrew, this is not an issue.
Upgrading
On macOS: upgrade using Homebrew:
brew update && brew upgrade sourcegraph/app/sourcegraph
On Linux: we do not have a PPA yet, so you will need to rerun the installation steps above to get the latest .deb version.
Feedback
Please let us know what you think in our Discord or tweet @sourcegraph!
Sourcegraph employees: join #dogfood-app
in Slack!