nvm
nvm copied to clipboard
Feature Request: nvm binary
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 $@
Like
nvm is per-user, so it should never be installed globally. We already have nvm-exec that can be run as a binary, as well.
i build docker images, but cannt use it in jenkins docker pipline. so binary is importent to me.