I am running the following command to update my TypeScript version from 1.8.5 to 2.0.7 :
npm install -g typescript
it shows as -
Megha shah is right, but I think is better to install via npm globally
npm install typescript -g
and so use the existing C:\Users{username}\AppData\Roaming\npm.