#!/usr/bin/env bash # Set node version defined in .nvmrc. nvm_sh=~/.nvm/nvm.sh if [[ -e $nvm_sh ]]; then source $nvm_sh nvm use || nvm install fi