2016-12-23 17:02:16 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-07-17 04:19:02 -07:00
|
|
|
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
|