Skip to content

Commit

Permalink
fix(doc): add instructions to download the latest release via command…
Browse files Browse the repository at this point in the history
… line
  • Loading branch information
jeremylong committed Nov 18, 2022
1 parent 357b225 commit b84051d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ More detailed instructions can be found on the
[dependency-check github pages](http://jeremylong.github.io/DependencyCheck/dependency-check-cli/).
The latest CLI can be downloaded from github in the [releases section](https://github.com/jeremylong/DependencyCheck/releases).

Downloading the latest release:
```
$ VERSION=$(curl -s https://jeremylong.github.io/DependencyCheck/current.txt)
$ curl -s "https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip" --output dependency-check.zip
```

On *nix
```
$ ./bin/dependency-check.sh -h
Expand Down

0 comments on commit b84051d

Please sign in to comment.