NVM_DIR env needs to be set when installing

I found this is necessary to get it working properly on ubuntu