Help with node lecture

Hi! I cant follow the lecture “your first node program”.
Where is he writing the code lines? in node command prompt?
I can’t create a folder with the lines he is writing…

thanks for the help!