Default prompt opening directory in Node.js

Asked

Viewed 2,484 times

4

How do I make Node.js always open in a directory that I want? I’m new to this technology. I wanted to know how to change the standard path opening, because currently it always opens in c:\users\meu_usuario.

Following image below: inserir a descrição da imagem aqui

  • In the shortcut properties, changing "base directory" advances?

  • It starts in the corner where I determined it. However, it does not run Node. For when I type some command it does not recognize.

1 answer

3


This is a very simple process. When you are running the prompt click the Node prompt icon on the task bar with the right mouse button 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 of the field "start in" and ready. Whenever you open the Node prompt it will start in the chosen directory.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.