title: Angular newbie: 'tsc is not recognized as an internal or external command'
body: <p>I am absolutely new at Angular so forgive me my ignorance. So, I got an error </p>
  
  <pre><code>C:\Users\Tijl Declerck\Desktop\projects\AngularTestApp\ts-hello&gt;tsc main.ts
  "tsc" no se reconoce como un comando interno o externo,
  programa o archivo por lotes ejecutable.
  
  'tsc is not recognized as an  internal or external command, program or executable batch file'(more or less the correct translation, I don't know why my console is all of a sudden in Spanish :D
  </code></pre>
  
  <p>I tried to install typescript with <code>npm install -g typescript</code> but I still get this error when I try the code <code>tsc main.ts</code>.
  So I asked a person about this and they sent me to an answer in another stackoverflow post (<a href="https://stackoverflow.com/questions/9587665/nodejs-cannot-find-installed-module-on-windows">Nodejs cannot find installed module on Windows?</a>). </p>
  
  <blockquote>
    <p>Add an environment variable called NODE_PATH and set it to
    %USERPROFILE%\Application Data\npm\node_modules (Windows XP),
    %AppData%\npm\node_modules (Windows 7/8/10), or wherever npm ends up
    installing the modules on your Windows flavor. To be done with it once
    and for all, add this as a System variable in the Advanced tab of the
    System Properties dialog (run control.exe sysdm.cpl,System,3).</p>
  </blockquote>
  
  <p>However, this is only my second day using Angular and I have no idea how to do what he refers to. I think, however, that someone who is familiar with Angular knows how to fix this in a short time, I just have no idea where to add this new environment variable and how. I would proceed with my course, but they use the tsc command so often that it just leaves me very frustrated. Could someone please give me a step-by step explanation of the fix described above to solve this problem?</p>
  
  <p>edit: I have windows 10 and work with webstorm.</p>