Skip to content

Instantly share code, notes, and snippets.

View rbaumbach's full-sized avatar
🏠
Working from home

Ryan Baumbach rbaumbach

🏠
Working from home
View GitHub Profile
#!/bin/bash
# nodereinstall
# credit: http://stackoverflow.com/a/11178106/2083544
# get sudo
sudo -v
# check to see if npm is installed
IS_NPM_MISSING=$(which npm)
if [[ -z $IS_NPM_MISSING ]]; then