Tell the minimum requirements for installing Typescript. Also, mention the steps involved in it.

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

Installing Typescript with the help of node and npm is recommended. Here, npm is used to install all the libraries and tools. Typescript should be installed globally using
npm install –g typescript

It installs a command line code “tsc” which will further be used to compile your Typescript code. Make sure that you check the version of Typescript installed on your system.

Following steps are involved for installing Typescript on your system:

  1. Download and run the .msi installer for node.
  2. Enter the command “node –v” to check if the installation was successful.
  3. Type the following command in the terminal window to install Typescript:
    npm install –g typescript

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Typescript Interview Questions

    What is Typescript?

    Typescript is a free and open-source programming language which is designed and developed by Microsoft. It was designed ..

    Typescript Interview Questions

    List some features of Typescript?

    Features of Typescript are:- Typescript can be compiled to all major versions of Javascript(ES3,ES5,ES6,ES7). Typescrip..

    Typescript Interview Questions

    List some benefits of using Typescript?

    Following are some benefits of using Typescript One of the biggest advantages of Typescript is its code completion and ..