new machine npm yarn and http-server setup

2019-04-19 03:13:00 +0000 - Written by Carl Burks

Here is my go to setup for npm, yarn and a simple http server.

mkdir npm_user_global
npm config set prefix ~/Documents/source/npm_user_global
npm install npm -g
export PATH="$HOME/Documents/source/npm_user_global/bin:$PATH"
npm install http-server -g
npm install yarn -g