TypeScript is converted into JavaScript through a compilation process.
| Since TypeScript is converted into JavaScript, it can run anywhere JavaScript is supported. | 
TypeScript has an official compiler that can be installed via npm.
To install the compiler within your npm project, use the following command:
| npm install typescript –save-dev | 
This should produce an output similar to:
| added 1 package, and audited 2 packages in 2s found 0 vulnerabilities | 
The compiler is installed in the node_modules directory and can be executed using the command: npx tsc.
| npx tsc | 
This should yield an output similar to:
| Version 4.5.5 tsc: The TypeScript Compiler – Version 4.5.5 | 
This will be followed by a list of all the common commands.