Building from source is only required if you’re making changes. The recommended way to self-host Sourcebot is to use the pre-built docker image
1

Install build requirements

A NodeJS version of at least 21.1.0 is required.
  1. go
  2. NodeJS
  3. ctags
// macOS:
brew install universal-ctags

// Linux:
snap install universal-ctags
2

Clone the repository

git clone --recurse-submodules https://github.com/sourcebot-dev/sourcebot.git
3

Build dependencies

cd sourcebot
make
4

Start Sourcebot

yarn dev
5

Navigate to Sourcebot

Start searching at http://localhost:3000

Congrats, you’re now running Sourcebot from source! Check out our getting started page to dive in.