Prerequisite
Download and install NodeJS LTS
Check your NodeJS installation by typing
bashnode -v # version 14.15.4 or later npm -v # version 6.14.10 or later ```
Install typescript
bashnpm i -g typescript ```
Verify that the TypeScript transpiler is installed
bashtsc --version # Version 4.x ``` :::tip A transpiler is like a compiler, but instead of generating low-level maching instructions, a transpiler generates the output as another high-level language. Specifically, `tsc` transpiles TypeScript into JavaScript. :::