Install sgrep

One command. Zero dependencies. All platforms.

bash
$ curl -fsSL https://sgrep.sh/install.sh | sh
or cargo install sgrep
Download Binary

macOS (Apple Silicon)sgrep-darwin-aarch64

Manual installation instructions
$ chmod +x sgrep-darwin-aarch64 # Make executable
$ sudo mv sgrep-darwin-aarch64 /usr/local/bin/sgrep # Move to PATH
$ sgrep --version # Verify

What happens next?

  • 1. First search downloads the model (~7.5MB, cached)
  • 2. After that, everything runs fully offline
  • 3. sg alias is created automatically
$ sgrep "handle authentication" src/

Need help? Check out the getting started guide or CLI reference.

Download Started!

Your binary is downloading now