helm/dev/+js/install
2017-07-17 13:20:25 +02:00

11 lines
226 B
Bash
Executable file

#!/usr/bin/env bash
if [[ ! -d ~/.nvm ]]; then
git clone https://github.com/creationix/nvm ~/.nvm
cd $HOME/.nvm && git checkout v0.33.2
export NVM_DIR="$HOME/.nvm"
. $HOME/.nvm/nvm.sh
nvm install node
fi