title: typescript: tsc is not recognized as an internal or external command, operable program or batch file
body: <p>I am a beginner with type script. I am unable to compile the type script file.</p>
  
  <p>As I hit Ctrl+Shift+B in the VS Code, i get the error "tsc is not recognised"</p>
  
  <p>I used npm while downloading transcript. </p>
  
  <pre><code>C:\Users\sramesh&gt;npm install -g typescript
  C:\Users\sramesh\AppData\Roaming\npm\tsserver -&gt; C:\Users\sramesh\AppData\Roaming\npm\node_modules\typescript\bin\tsserver
  C:\Users\sramesh\AppData\Roaming\npm\tsc -&gt; C:\Users\sramesh\AppData\Roaming\npm\node_modules\typescript\bin\tsc
  C:\Users\sramesh\AppData\Roaming\npm
  `-- typescript@2.1.5
  </code></pre>
  
  <p>Here is my tasks.json file</p>
  
  <pre><code>{
      // See https://go.microsoft.com/fwlink/?LinkId=733558
      // for the documentation about the tasks.json format
      "version": "0.1.0",
      "command": "C:\\Users\\sramesh\\AppData\\Roaming\\npm\\node_modules\\typescript\\bin\\tsc",
      "isShellCommand": true,
      "args": [],
      "showOutput": "silent",
      "problemMatcher": "$tsc"
  }
  </code></pre>
  
  <p>Can anyone help?</p>