I have a MacBook Pro with OS X 10.8.2
Some time ago I installed Typescript and today I'd like to upgrade that installation to the latest version available (so far, v0.8.3).
I wrote this command from the terminal:
sudo npm install -g typescript
But this is what I got on the display:
npm http GET https://registry.npmjs.org/typescript
npm http 304 https://registry.npmjs.org/typescript
/usr/local/bin/tsc -> /usr/local/lib/node_modules/typescript/bin/tsc
typescript@0.8.0 /usr/local/lib/node_modules/typescript
Does this means that I still have version 0.8.0 installed on my computer?
I tried to see if the tsc command has a -v
or a -version
parameter but I haven't found it, so I still uncertain if I have upgraded Typescript to the latest release or if I'm still stuck with an older version.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…