Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Developer installation

alpharush edited this page Jun 24, 2023 · 15 revisions

Developer Installation

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

Setting up IDE-based debugging

  1. Configure your IDE to use ./env/bin/python as the interpreter.
  2. Use slither as the entrypoint for the debugger.
  3. Pycharm specific: Set the environment working directory to ./env/bin/

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.