How to install TypeScript and run the TypeScript compiler against a .ts file from the command line.
To install Typescript Comiler
npm install -g typescript
To check with the typescript version
tsc -v
Download Visual Studio Code for Linux/Windows
See the result in compiled javascript of written typescript code.
Thank you.