Skip to content

Instantly share code, notes, and snippets.

View mmmeff's full-sized avatar
🦁
Legacy Wrastlin'

Matt mmmeff

🦁
Legacy Wrastlin'
View GitHub Profile
@mmmeff
mmmeff / install-node-js.sh
Last active April 4, 2017 18:57 — forked from ankurk91/install-node-js.sh
Install node js and npm on Ubuntu/Mac using nvm
#!/bin/bash
# Install node and npm via nvm - https://github.com/creationix/nvm
# Run this script like - bash script-name.sh
# Prevent source
[[ "${BASH_SOURCE[0]}" != "${0}" ]] && echo -e "\e[91m This script is being sourced, will exit now \e[39m" && return
# Script will auto terminate on errors
set -e