- Install Node.js from http://nodejs.org
- Open a Command Prompt and run
"c:\Program Files\nodejs\npm" install -g learnyounode
- Run
C:\Users\USERNAME\AppData\Roaming\npm\learnyounode.cmd
where USERNAME is your Windows login name. - Instead of writing code in Notepad, I recommend Notepad++ with the NppExec plugin, this F6 script:
NPP_SAVE
CD $(CURRENT_DIRECTORY)
C:\Program Files\nodejs\node.exe "$(FULL_CURRENT_PATH)"