Install TypeScript on Windows
As you know TypeScript is developed by Microsoft, which is integrated into Visual Studio, a specialized IDE for developing .NET applications. If Visual Studio is available you can get started with TypeScript without any other installation.
Although Visual Studio is a great tool, it is very heavy and slow. You do not need to use IDE just to learn or develop small TypeScript applications. There are many lightweight source code editors that support TypeScript, such as Visual Studio Code, Atom, etc. However, you need a few additional installations.
You need NodeJS as an environment to execute NPM commands to download and install packages from the NPM Registry. First, install NodeJS and NPM according to the instructions below:
After having NPM, you can easily install TypeScript with just one command:
npm install -g typescript
After successful installation you can check the installed version: