-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 devThis 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/pythonas the interpreter. - Use
slitheras the entrypoint for the debugger. - Pycharm specific: Set the environment working directory to
./env/bin/