On Linux Mint, I installed node and used it to install typescript. In a working installation of typescript tsc --version should return the version number. In my case, nothing returns at all.
When I run which tsc , the result is /usr/local/bin/tsc .
When I run cat /usr/local/bin/tsc , the result is:
#!/usr/bin/env node require('../lib/tsc.js')
When I ran find /usr/local -name 'tsc*' , the result:
/usr/local/bin/tsc /usr/local/lib/node_modules/typescript/bin/tsc /usr/local/lib/node_modules/typescript/lib/tsc.js
Is it correct? If so, would any ideas on what else to see be appreciated?
Note. I also tried running /usr/local/lib/node_modules/typescript/bin/tsc --version and got the same result, i.e. nothing.
source share