I think you're correct that $PATH works. But I just think it makes more sense to have a more developed solution, that's all.
I thought up another thing wrong with path. I think path should be configurable to search relative paths as well. So I could configure it so that it always searched node_modules/bin for executables as well. What do you think?