This all started with tsc --init not working...
What's the difference between:
npm install -g typescript
npm install -g tsc
npm install -g ntsc
I thought "tsc" was just a shortcut for typescript, but listing them out seems to give different versions
PS C:\angular2-app> npm list -g tsc
C:\Users\Wheeeeee\AppData\Roaming\npm
└── [email protected]PS C:\angular2-app> npm list -g typescript
C:\Users\Wheeeeee\AppData\Roaming\npm
└── [email protected]
So, what's the difference between the two. Is typescript the library and tsc some sort of a command line helper?
P.S. I don't really care about ntsc, it's just part of the question if you know offhand or for some reason think it's a must. Ignore otherwise.
EDIT: Given the answer below, how does powershell know which tsk I am trying to use? How do I specify?
typescript. Thistscthing seems to be deprecated and points to thisntypescriptwhich can be useful if you want to use typescript as a service, and if you don't need that then just use typescript. - Nitzan Tomer