I have tried to install ionic framework. I was done with my first step by executing the command (installed node.js).
First command: npm install -g cordova ionic
SET PATH=C:\Program Files\Nodejs;%PATH%
Is worked for me on Windows 10 :)