title: How to use `prefer-dist` command line composer option inside the composer.json file, so that it is not a one time per command but a lasting setting?
body: <p>How to use a <code>prefer-dist</code> command line composer option inside the composer.json file, so that it is not a one time per command setting but a lasting setting inside a composer.json file throughout the project libraries installations?</p>
  <p>Reference:
  <a href="https://github.com/composer/composer/issues/6798" rel="nofollow noreferrer">https://github.com/composer/composer/issues/6798</a></p>