title: install electron vs install electron-builder
body: <p>What's the difference between installing electron alone vs via electron-builder? I'm building an Electron app with React and found a few tutorials already. All of them differ how they install Electron, but there is no explanation why. </p>
  
  <p><a href="https://flaviocopes.com/react-electron/" rel="nofollow noreferrer">First</a>:</p>
  
  <pre><code>npx create-react-app app
  cd app
  npm install electron
  npm install --save-dev electron-builder
  </code></pre>
  
  <p><a href="https://www.freecodecamp.org/news/building-an-electron-application-with-create-react-app-97945861647c/" rel="nofollow noreferrer">Second</a>:</p>
  
  <pre><code>create-react-app
  npm install --save-dev electron
  </code></pre>
  
  <p><a href="https://gist.github.com/matthewjberger/6f42452cb1a2253667942d333ff53404" rel="nofollow noreferrer">Third</a>:</p>
  
  <pre><code>create-react-app my-app
  cd my-app
  yarn add electron --dev
  yarn add electron-builder --dev
  yarn global add foreman # for process management
  yarn install
  </code></pre>
  
  <p>Two questions:</p>
  
  <ol>
  <li>The biggest difference is between First and Second one. In the second tutorial, they didn't even install electron-builder. What's the difference? </li>
  <li>The second difference is between First and Third: They both installed electron, but one in dev and another not. I'm guessing it should be in <code>--save-dev</code>. Am I correct?</li>
  </ol>