Haxe installation not update the environment variables

Hey,
I installed Haxe today on a new machine and I had to restart the windows so the haxe exe will be available to all paths.
After that I installed Node JS and it was available to me immediately