Monday, November 6, 2017

How to Install TypeScript on your machine using Nodejs Manager

What is TypeScript ?

Type script is type superset of JavaScript that compiles to plain JavaScript.


Installation 
  1. To install TypeScript using node manager CLI, you will have to setup nodejs Manager. For this you can follow the previous post "How to install Nodejs".
  2. After completing the Nodejs installation you can go to command prompt /Powershell on windows and type below command to install the typescript
  3. npm install -g typescript
  4. You might also end up finding below error if you are using proxy Server in your network for the internet connection.
  5. In this case you might want to setup the proxy setting for the npm. 
npm config set proxy http://:@: 
npm config set https-proxy http://:@:

You have to replace , , , with the values specific to your proxy server credentials

No comments:

Post a Comment