I want to install typescript, so I used the following command:
npm install -g typescript
and test tsc --version, but it just
A few tips in order
npm install typescript -gIf it still doesn't work run npm config get prefix to see where npm install -g is putting files (append bin to the output) and make sure that they are in the path (the node js setup does this. Maybe you forgot to tick that option).