title: How to set the default LibreSSL on Mac to the one installed by homebrew
body: <p>I checked the version of LibreSSL on my mac, it's not the latest one.</p>
  
  <pre><code>$ openssl version
  LibreSSL 2.6.5
  </code></pre>
  
  <p>And I installed a more recent version by homebrew</p>
  
  <pre><code>homebrew install libressl
  </code></pre>
  
  <p>The one installed by homebrew is <code>2.8.3</code>. But after I installed the new one and typed in the terminal <code>openssl version</code>, it still showed <code>LibreSSL 2.6.5</code>, which means the new one had not been set as the default. </p>
  
  <p>I know that homebrew has a different installation path. But I don't know how to set the path as the default path for the LibreSSL. How to set the latest version of LibreSSL as the default one in Mac? Can anyone give me some suggestions?</p>