Run nvm outside shell script