How do I install TypeScript? -


i have version 0.9.1.1. ran following:

c:\test>npm install -g typescript npm http https://registry.npmjs.org/typescript npm http 200 https://registry.npmjs.org/typescript npm http https://registry.npmjs.org/typescript/-/typescript-1.0.0.tgz npm http 200 https://registry.npmjs.org/typescript/-/typescript-1.0.0.tgz c:\users\david\appdata\roaming\npm\tsc -> c:\users\david\appdata\roaming\npm\nod e_modules\typescript\bin\tsc typescript@1.0.0 c:\users\david\appdata\roaming\npm\node_modules\typescript 

but when run tsc get:

c:\test>tsc version 0.9.1.1 syntax:   tsc [options] [file ..] 

what else need install latest version?

update:

c:\test>where tsc c:\program files (x86)\microsoft sdks\typescript\tsc.exe c:\program files (x86)\microsoft sdks\typescript\tsc.js c:\users\david\appdata\roaming\npm\tsc c:\users\david\appdata\roaming\npm\tsc.cmd 

tsc.exe 0.9.1.1 , tsc.cmd 1.0.0.0

i removed visualstudio 0.9.1.1 addin , it's - tsc.cmd , that's 1.0.0.0

thank all!

what else need install latest version?

it because (almost definitely) have typescript plugin visual studio installed. can uninstall control panel. typescript installed npm default 1 on command line.

alternatively can latest typescript visual studio 2012 plugin here : http://www.typescriptlang.org/#download (for vs 2013 bundled part of vs 2013 update 2 rc)


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -