github.com/quite/nomad@v0.8.6/scripts/vagrant-linux-priv-ui.sh (about) 1 #!/usr/bin/env bash 2 3 # Install NVM for simple node.js version management 4 wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash 5 6 # This enables NVM without a logout/login 7 export NVM_DIR="/home/vagrant/.nvm" 8 # shellcheck source=/dev/null 9 [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm 10 11 # Install Node, Ember CLI, and Phantom for UI development 12 nvm install 6.11.0 13 nvm alias default 6.11.0 14 npm install -g ember-cli phantomjs-prebuilt 15 16 # Install Yarn for front-end dependency management 17 curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.6 18 export PATH="$HOME/.yarn/bin:\$PATH"