My MacBook Pro is running OS X 10.8.2 and I previously installed Typescript. Now, I want to update it to the latest version (v0.8.3). I used this command in the terminal:
sudo npm install -g typescript
However, the output displayed was:
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
<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="85f1fcf5e0f6e6f7ecf5f1c5b5abbdabb5">[email protected]</a> /usr/local/lib/node_modules/typescript
This raised a question: Does this mean that I still have version 0.8.0 on my system?
I attempted to check if the tsc command has a -v
or -version
parameter, but couldn't find it. So, I am unsure whether Typescript has been successfully updated to the latest release or if I'm stuck with an older version.