devgrep
Install

Installation

devgrep is a single Go binary. Install it globally, build locally, or use the project release script.

Go install

The fastest path if you have Go 1.21+ and a working GOPATH/bin or Go bin directory on your PATH:

sh
go install github.com/aasixh/devgrep@latest

Verify the install:

sh
devgrep version

Build from source

Clone the repository and use the Makefile target:

sh
git clone https://github.com/aasixh/devgrep
cd devgrep
make build
./bin/devgrep version

The build embeds version metadata via linker flags: version from git describe, commit hash, and build date.

Release script

For a prebuilt binary without a local Go toolchain, use the install script from the repository:

sh
curl -fsSL https://raw.githubusercontent.com/aasixh/devgrep/main/scripts/install.sh | sh

Linux PATH setup

Go bin directory

After go install, the binary is typically at ~/go/bin/devgrep. Add it to your shell profile:

sh
# ~/.bashrc or ~/.zshrc
export PATH="$PATH:$(go env GOPATH)/bin"

Local build

If you built with make build, either run ./bin/devgrep from the repo or copy/symlink the binary into a directory already on PATH.

Verification

Confirm devgrep runs and reports version information:

sh
devgrep version
devgrep doctor

doctor checks config validity, database health, permissions, shell history availability, and other local prerequisites.

Next steps

  • Run devgrep index to create your first local index — see Getting Started.
  • Optional config lives at ~/.config/devgrep/config.yaml; defaults work without creating a file.
  • The SQLite database is created at ~/.local/share/devgrep/devgrep.db.