Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instruction in README for how to upgrade slither #2498

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ Slither requires Python 3.6+ and [solc](https://github.com/ethereum/solidity/),
pip3 install slither-analyzer
```

If your slither version is behind the latest available release, you can upgrade slither to stay up to date with the latest features and bug fixes using the following command:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If your slither version is behind the latest available release, you can upgrade slither to stay up to date with the latest features and bug fixes using the following command:
#### How to upgrade


```console
pip install --upgrade slither-analyzer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pip install --upgrade slither-analyzer
python3 -m pip install --upgrade slither-analyzer

This is consistent with how the installation is recommended on the latest branch

```

### Using Git

```bash
Expand Down