0

How do you find out which version of typescript/tsc you run under Ubuntu? There's no manual or --version switch for tsc.

Olle Härstedt
  • 3,799
  • 1
  • 24
  • 57

2 Answers2

0

Since I use Ubuntu 12.04, I installed an older version of node without my knowing, which in turn installed an older version of typescript. Appareantly, the old tsc command does not have the --version switch, but the new one has.

Olle Härstedt
  • 3,799
  • 1
  • 24
  • 57
0

In any version of TypeScript if you type in tsc without any arguments it shows you its version in the help message.

basarat
  • 261,912
  • 58
  • 460
  • 511