title: Should I add nodemon as a dev dependency on my project even if I already installed it as a global dependency?
body: <p>I'm learning basic node.js and realized that I can use a package installed globally on my pc without installing it in my project.</p>
  <p>Currently my dependencies look like this:</p>
  <pre><code>&quot;dependencies&quot;: {
      &quot;cookie-parser&quot;: &quot;~1.4.4&quot;,
      &quot;debug&quot;: &quot;~2.6.9&quot;,
      &quot;express&quot;: &quot;~4.16.1&quot;,
      &quot;http-errors&quot;: &quot;~1.6.3&quot;,
      &quot;morgan&quot;: &quot;~1.9.1&quot;,
      &quot;pug&quot;: &quot;2.0.0-beta11&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;jasmine&quot;: &quot;^3.6.1&quot;
    }
  </code></pre>
  <p>I was using nodemon but just realized that it's not listed as a dev dependency, should I add it with npm i --save-dev nodemon as a good practice?</p>
  <p>I guess it must be declared as dependency in case this was a collaborative project but I'm not sure.</p>