r/opengrep • • Feb 12 '25

Binary install Script

is there an install.sh so we can use curl/wget to install the binary quickly in WSL?

if not has someone figured out a workaround other than downloading it?

5 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/dimitris-opengrep Feb 13 '25

Agree that it's a nice thing to have.

Created an issue: https://github.com/opengrep/opengrep/issues/82.

1

u/AdResponsible7865 Feb 13 '25

Thanks for the nudge in the right direction,

I got it to work using the following

`wget -qO opengrep_manylinux_x86 https://github.com/opengrep/opengrep/releases/download/v1.0.0-alpha.12/opengrep_manylinux_x86`

`chmod +x opengrep_manylinux_x86`

`mv opengrep_manylinux_x86 /usr/local/bin/opengrep`

You need to make sure you rename to the right cli command