##New PHPStorm Version released today.##
Jetbrains provides a checksum, and it’s really a good idea to use it to verify that the file hasn’t been corrupted during transmission.
Here’s a function I have in my ~/.bash_profile
.
function sha256check () {
if [[ $(pbpaste) == $(shasum -b -a 256 "$@" | awk '{print $1}') ]]; then echo 'match'; fi ;
}
source: http://stackoverflow.com/questions/36382599/fastest-way-to-compare-sha1-checksum-in-clipboard-with-sha1-of-local-file-using
After you save, make sure to run $source ~/.bash_profile
on your terminal, otherwise the function won’t be available.
After downloading the upgrade (dmg),
sha256check
So in my case, the command looks like this:
$ sha256check /Users/justinwinter/Downloads/PhpStorm-2016.3.dmg
(Note: at this point I have already copied the hash from the JetBrains website)
And the response is:
$ sha256check /Users/justinwinter/Downloads/PhpStorm-2016.3.dmg
match
This lets me know that the file is likely legit.