October 2017
Intermediate to advanced
280 pages
6h 50m
English
Once you have npm installed and running, verify that you have the latest version by opening your terminal window and running the following command:
$ npm -v
Use the following command in order to install TypeScript 2.5.0 or newer:
$ npm install -g typescript@^2.5.0
The preceding command will install the TypeScript compiler and add its executable (tsc) as global.
In order to verify that everything works properly, you can use the following command:
$ tsc -v Version 2.5.2
The output should be similar to the preceding one, though possibly with a different minor or patch version.
Read now
Unlock full access