Building Semgrep for Linux on arm64
Last updated:
As per PR #8243, it is now possible to just
pip install semgrep.
- Download the repository:
git clone https://github.com/returntocorp/semgrep - Set up the development environment:
make dev-setup - Install
opam:apt-get install opam - Initialise
opam:opam init && eval $(opam config env) - Build:
make - Install
pipenv:sudo apt install pipenv - Downgrade
ruamel.yaml==0.16.0:pip install 'ruamel.yaml==0.16.0' - Install the Semgrep CLI:
cd cli && python setup.py install