title: Command not found: ts-node-dev
body: <p>I am moving from <code>nodemon</code> to <code>ts-node-dev</code> but I am not able to run my <code>index.ts</code> file using <code>ts-node-dev</code>.</p>
  <p>I did the following:</p>
  <ol>
  <li><p><code>yarn add ts-node-dev --dev</code></p>
  </li>
  <li><p>In my <code>package.json</code> I have:</p>
  <pre><code>&quot;devDependencies&quot;: {
     ...
     &quot;nodemon&quot;: &quot;^1.19.2&quot;,
     &quot;ts-node&quot;: &quot;8.3.0&quot;,
     &quot;ts-node-dev&quot;: &quot;^1.0.0-pre.56&quot;,
     &quot;typescript&quot;: &quot;3.6.3&quot;
  }
  </code></pre>
  </li>
  </ol>
  <p>If I run <code>ts-node-dev</code> or <code>ts-node-dev src/index.ts</code> I get the error:
  <strong>command not found: ts-node-dev</strong></p>
  <p>What am I doing wrong? It seems to me that is correctly installed.</p>
  <p><strong>My scripts</strong></p>
  <pre><code>   &quot;scripts&quot;: {
        &quot;start&quot;: &quot;nodemon --exec ts-node src/index.ts&quot;,
        &quot;dev&quot;: &quot;ts-node-dev src/index.ts&quot;
     }
  </code></pre>