We recommend to use a Python virtual environment to install slither from git (see the [Developer Installation Instructions](https://github.com/trailofbits/slither/wiki/Developer-installation))
We recommend using an Python virtual environment, as detailed in the [Developer Installation Instructions](https://github.com/trailofbits/slither/wiki/Developer-installation), if you prefer to install Slither via git.
### Using Docker
### Using Docker
We recommend to use [`eth-security-toolbox`](https://github.com/trailofbits/eth-security-toolbox/):
Use the [`eth-security-toolbox`](https://github.com/trailofbits/eth-security-toolbox/) docker image. It includes all of our security tools and every major version of Solidity in a single image. `/home/share` will be mounted to `/share` in the container. Use [`solc-select`](https://github.com/trailofbits/eth-security-toolbox/#usage) to switch the Solidity version.
```
```
docker pull trailofbits/eth-security-toolbox
docker pull trailofbits/eth-security-toolbox
```
```
To share a directory in the container:
To share a directory in the container:
```
```
docker run -it -v /home/share:/share trailofbits/eth-security-toolbox
docker run -it -v /home/share:/share trailofbits/eth-security-toolbox
```
```
`/home/share` will be mounted to `/share` in the container.
You can switch the solc version using [`solc-select`](https://github.com/trailofbits/eth-security-toolbox/#usage).