November 2019
Beginner
804 pages
20h 1m
English
TypeScript is distributed as an npm package, and thus, it can easily be installed using npm.
Here's how to install TypeScript globally:
npm install --global typescript
If all goes well, you should be able to execute the compiler from anywhere:
$ tsc --versionVersion 3.1.1
As you can see from the preceding command, we could invoke the compiler without prefixing it by its path.
Let's now start using TypeScript!
Read now
Unlock full access