#!/bin/bash if [ -z "$NVM_DIR" ] then NVM_DIR="~/.nvm" fi . $NVM_DIR/nvm.sh nvm install nvm use set -e npm install