Need a cli to check the sha256 hash of a file
You can use

openssl dgst -sha256 &lt;file&gt;


Tested on LibreSSL 2.6.4 on macOS 10.14 (Mojave).



Prior to Mojave you can use openssl sha -sha256 &lt;file&gt; or openssl sha256 &lt;file&gt;.

To check command line options for the openssl sha command: openssl sha -help.