Default directory for opening the prompt in Node.js

3

How do I get Node.js to always open in a directory I want? I'm new to this technology. I would like to know how to change the default opening path, because it currently always opens in c:\users\meu_usuario .

Follow the image below:

    
asked by anonymous 20.08.2014 / 21:02

1 answer

2

This is a very simple process. When running the prompt, right-click the node prompt icon on the taskbar and then do the same at Node.js command prompt and then left-click on properties.

In the window that opens, just change the path to the "start in" field and you're done. Whenever you open the node prompt it will start in the chosen directory.

    
20.08.2014 / 21:50