Clone this gist:
git clone https://gist.github.com/dainiusjocas/d6b5757c17a055f498f90030482587e5
cd d6b5757c17a055f498f90030482587e5
Go here https://github.com/dainiusjocas/lucene-grep/releases/tag/v2021.03.24 and fetch the binary for your platform to this directory.
Extract the binary, e.g. unzip lmgrep*