
Unless you need to install a different version (like for example if you're doing a tutorial and the tutor tells you to install a specific version), I would advise to install the latest. Steps to install Typescript on a Windows machine using npm:ġ.

The way I personally use it is with Visual Studio Code, as an extension, but when I first started learning the syntax, I had it installed via npm (Node's package manager). If you want to have it on your machine and use it anytime you wish, you'll need to install it. The way it works is that you write Typescript code on the left side and see the code it compiles to on the right side (this works on any OS, it's not Windows specific).

If you want to first get comfortable with the syntax and avoid installation, you can use it online, inside a playground that can be found here. It needs to be compiled into regular Javascript and it lives inside files with a.

But how exactly can we use it? Typescript doesn't run in the browser.
