-
Notifications
You must be signed in to change notification settings - Fork 973
Developer installation
alpharush edited this page Jun 24, 2023
·
15 revisions
Slither currently runs requires at least Python3.8 so make sure you have a sufficiently up-to-date installation by running python --version
.
We recommend pyenv to manage python versions.
To start working on modifications to Slither locally, run:
git clone https://github.com/crytic/slither
cd slither
git checkout dev
make dev
This will create a virtual environment, ./env/
, in the root of the repo.
To run commands using your development version of Slither, run:
source ./env/bin/activate
- Configure your IDE to use
./env/bin/python
as the interpreter. - Use
slither
as the entrypoint for the debugger. - Pycharm specific: Set the environment working directory to
./env/bin/