jason ap
jason ap

Reputation: 71

Add node.exe installation path into environment variables path?

I'm using Gitbash for the first time and after I installed Nodejs, I was asked to "Add your node.exe installation path (example: c:\Program Files\nodejs\10.15.3) into environment variables path

Anyone know how to do this (what to put in the command line) or what they mean by this? Do they mean to use set ?

Thanks in advance

Upvotes: 1

Views: 10046

Answers (3)

Saintilien Wilson
Saintilien Wilson

Reputation: 51

You can just put the node variable in the first place, like that

enter image description here

That work for me.

Upvotes: 0

Grudin Maksim
Grudin Maksim

Reputation: 86

To add a path to the path variable, use the setx command.

Example:

setx path "%path%;c:\directoryPath"

In your case:

setx path"%path%;c:\Program Files\nodejs\10.15.3"

Upvotes: 2

Related Questions