January 4, 2021
Estimated Post Reading Time ~

Typescript Installation


Following is the guide to install node using .msi installer
Step-1: Node Installer – Download Page

Step-2: Select the installer for your system 32-bit or 64-bit
Installers:
32-bit installer: "https://nodejs.org/dist/v6.10.3/node-v6.10.3-x86.msi"
64-bit Installer: "https://nodejs.org/dist/v6.10.3/node-v6.10.3-x64.msi"

Binaries:
32-bit Binaries: https://nodejs.org/dist/v6.10.3/node-v6.10.3-win-x86.zip
64-bit Binaries: https://nodejs.org/dist/v6.10.3/node-v6.10.3-win-x64.zip

Step-3: Run the respective installer to installer Node

Step-4: Verify the Node and npm installation
$ node -v
$ npm -v

Following is the guide to install node using binaries
Step-1: Download and extract binaries
# Binaries:
32-bit Binaries: https://nodejs.org/dist/v6.10.3/node-v6.10.3-win-x86.zip
64-bit Binaries: https://nodejs.org/dist/v6.10.3/node-v6.10.3-win-x64.zip

# Extract:
$ unzip node-v6.10.3-win-x64.zip
$ cd node-v6.10.3-win-x64.zip

Step-2: Add the following paths to the system variables
c:\Users\shashi\node-v6.10.3-win-x64\node_modules\npm\bin
c:\Users\shashi\node-v6.10.3-win-x64\

Step-3: Adding PATH or Environment Variables [if installed using Binaries]
Goto -> System Properties -> Advanced System Settings -> Environmental Settings

Edit the PATH variable on User Tab

Add the 'tsc' path location as new PATH variable
C:\Users\%USER%\AppData\Roaming\npm\node_modules\typescript\bin\

Save the Configuration
Reboot the Machine


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.