NodeJS and npm for windows can be installed in following way.
1. Instalation guid
- Go to official webpage: https://nodejs.org/en/download/
- Click Windows Installer button
- Install program
Hint: do not forget to select
npm(node package manager) feature and select Add to PATH option - look on abowe screenshot.
2. Usage guid
- Open terminal. e.g. Bash. (installation and running instruction is here)
node.exe Script.jsto run program.
nodecommand does not exist try to rerun bash again.