Download the dependency-check command line tool here. Extract the zip file to a location on your computer and put the ‘bin’ directory into the path environment variable. On *nix systems you will likely need to make the shell script executable:
$ chmod +777 dependency-check.sh
To scan a folder on the system you can run:
dependency-check.sh --app "My App Name" --scan "/java/application/lib"
To view the command line arguments, see the arguments page, or you can run: