TypeScript Version Always Shows 1.0
TypeScript Version Always Shows 1.0
Sep 6, 2017
·
1 min read
·
49
Words
·
-Views
-Comments
On Windows,
tsc --versionshowed1.0.3.0even though I’d installed TypeScript 2.3.4. Runningwhere tscrevealed the culprit.
Version Output

System PATH

The PATH pointed to C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0—the compiler bundled with Visual Studio.
Fix
Remove that path entry and rerun tsc --version:
Now the correct version appears.

