title: 'cdk' is not recognized as an internal or external command
body: <p>I am trying my hands with <code>AWS CDK</code> &amp; as the first step, I need to install <code>cdk</code> &amp; as per below link</p>
  <p><a href="https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html</a></p>
  <p>I tried installing the same</p>
  <p>Steps.</p>
  <ol>
  <li><code>node --version</code> =&gt; v15.14.0</li>
  <li><code>npm --version  =&gt; 7.11.2</code></li>
  <li><code>aws -version</code> =&gt; aws-cli/2.2.1 Python/3.8.8 Windows/10 exe/AMD64 prompt/off`</li>
  <li><code>npm -g install typescript</code></li>
  <li><code>aws configure</code> (AWS AccessKey, Secret,Region)</li>
  <li><code>npm -g install aws-cdk</code></li>
  </ol>
  <p>Now closed all the cmd instances &amp; ran</p>
  <pre><code>cdk --version 
  </code></pre>
  <p>this throws the below error</p>
  <blockquote>
  <p>'cdk' is not recognized as an internal or external command</p>
  </blockquote>
  <p>Then I added the below path of cdk to environment variable</p>
  <blockquote>
  <p>C:\Users\kgn-dev\AppData\Roaming\npm\node_modules\aws-cdk\bin\cdk</p>
  </blockquote>
  <p>still the same issue.</p>
  <p>How do I get <strong>cdk</strong> command running?</p>
  <p><em>I am using Windows 10</em></p>