先安装好node和npm
C:\Users\Administrator>npm install tsc -g
npm WARN deprecated tsc@1.20150623.0: You probably meant to instally 'typescript'. Run 'npm install typescript -g'
C:\Users\Administrator\AppData\Roaming\npm\tsserver -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsc\bin\tsserver
C:\Users\Administrator\AppData\Roaming\npm\tsc -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsc\bin\tsc
C:\Users\Administrator\AppData\Roaming\npm
`-- tsc@1.20150623.0
C:\Users\Administrator>tsc -v
message TS6029: Version 1.5.3