Add the following lines into ~/.bash_profile
file
export CLICOLOR=1
export TERM="xterm-color"
export PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ '
alias ll='ls -l'
alias gs='git status'
Execute the following lines to config npm global prefix:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
Update ~/.bash_profile
to add:
export PATH=~/.npm-global/bin:$PATH
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install yarn