The purpose of this section is to get you up and running with a TypeScript environment so that you can edit, compile, run and debug your TypeScript code. TypeScript has been released as open-source, and includes both a Windows variant, and a Node variant. This means that the compiler will run on Windows, Linux, OS X, and any other operating system that supports Node.
On Windows environments, we can either install Visual Studio – which will register the
tsc.exe (TypeScript Compiler) in our
C:\Program Files directory, or we can use Node. On Linux and OS X environments, we will need to use Node. Either way, firing up a command prompt and typing
tsc –v should display the current version of the compiler that we are using. Which at the ...