How to setup color command prompt

In ~/.bashrc, you will find a line that comment force_color_prompt, just remove the comment and source the bashrc again and you got it.

force_color_prompt=yes

Then, reload the .bashrc

$ . ~/.bashrc

Note "." is a shortcut for "source"