Angular - Install Guide for Visual Studio, Node (npm), TypeScript (tsc)
UI Tool :
https://code.visualstudio.com/download
Use Above link to download the VisualStudio and install it.
Install Node:
* Node is the runtime Environment for executing JavaScript code from the command-line.
Steps:
1. Download the node using this link : https://nodejs.org/en/download/current/
2. Select the Windows Installer (.msi) for your system (32-bit or 64-bit)
3. Run the Installer
4. Follow the steps in the Installer
5. Open a Command Prompt window to verify the node installation
6. In the Command Prompt window, type the following command:
node --version
If the installation is successful, you will see the version number
Note: The Node installation also includes npm (Node Package Manager).
7. Verify npm is installed
npm --version
If the installation is successful, you will see the version number.
Note: node will have a different number than npm. This is similar to a different Java JDK version number compared to Maven version number.
Note: In this example, node is similar to the Java JDK. And npm is similar to Maven.
Install tsc (TypeScript Compiler):
* It is used to compile typescript code into Javascript code.
Steps:
* Open Command Prompt.
* Install the TSC using below command
npm install -g typescript
* Verify TSC installed
tsc --version
https://code.visualstudio.com/download
Use Above link to download the VisualStudio and install it.
Install Node:
* Node is the runtime Environment for executing JavaScript code from the command-line.
Steps:
1. Download the node using this link : https://nodejs.org/en/download/current/
2. Select the Windows Installer (.msi) for your system (32-bit or 64-bit)
3. Run the Installer
4. Follow the steps in the Installer
5. Open a Command Prompt window to verify the node installation
6. In the Command Prompt window, type the following command:
node --version
If the installation is successful, you will see the version number
Note: The Node installation also includes npm (Node Package Manager).
7. Verify npm is installed
npm --version
If the installation is successful, you will see the version number.
Note: node will have a different number than npm. This is similar to a different Java JDK version number compared to Maven version number.
Note: In this example, node is similar to the Java JDK. And npm is similar to Maven.
Install tsc (TypeScript Compiler):
* It is used to compile typescript code into Javascript code.
Steps:
* Open Command Prompt.
* Install the TSC using below command
npm install -g typescript
* Verify TSC installed
tsc --version
Comments
Post a Comment