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
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.
```
docker pull trailofbits/eth-security-toolbox
```
To share a directory in the container:
```
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).
`/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.