Step-wise installation of NodeJS in windows Machines:
Download 32/64 bit latest/stable NodeJs installer according to your system compatibility.
Note: For beginners , Download windows 64 bit (.msi) Installer [Long Term Support]
The above url will download node version 4.6.0 which also includes npm 2.15.9.The npm is a tool that manages all the modules which are needed by node like installation , up-gradation & removal of node modules .
Double click the installer and install with default options.
After the installation is finished, Open the command prompt and type below commands to verify the installation.
> node -v
> npm -v
The output must give both node & npm versions like below image.
If the output are the versions , NodeJs is ready to go.
If the versions are not displayed ,check whether the node is present in environment path.If not, Add node installation directory in environment path. Default is "C:\Program Files\nodejs".
Check the above commands again .If the versions are still not displayed follow the following steps
- Clear the installation
- Delete installation directory - Default is C:\Program Files\nodejs
- Remove nodejs from environment path.
- Restart the system
- Install again.
No comments:
Post a Comment