Answer the question
In order to leave comments, you need to log in
How to properly install\remove TSC in Ubuntu?
Once using npm installed the TypeScript 1.8 compiler. After some time using npm updated it to version 2.0.2. And now I have, for some reason, two versions installed:
/usr/lib/node_modules/typescript/bin/tsc -v
Version 2.0.2
/usr/local/lib/node_modules/typescript/bin/tsc -v
Version 1.8.10
Answer the question
In order to leave comments, you need to log in
The first one is installed through the package manager. You can delete it like this sudo apt-get purge node-typescript
:
The second one was installed via NPM. You can delete it like this sudo npm uninstall -g typescript
:
Which one you need - leave that one, delete the second one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question