Because sometimes with my dumb mind, I installed npm packages for a project and realized after that I am still on my home directory. Forgot to change directory.
Is there way to prevent it or will stop and show an error that I am still on my home directory?
Edit
I am not installing global package.