Open
Description
Feature Request: nvm binary
- Allow install script to install to global directory
/usr/share/nvm
- Create a shell script that runs the nvm command like an executable
/usr/bin/nvm
#!/bin/bash
export NVM_DIR="/usr/share/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm $@