Colors in Windows 10 with Git Bash

On Windows 10.

Conemu and Git Bash

Install the theme: https://github.com/diesire/git_bash_windows_powerline

Get a powerline font. I used my own Diffusion.

Getting NPM colors to play nicely

In .bashrc use

export FORCE_COLOR=true

Node stdout is not a TTY

Also install winpty

https://github.com/rprichard/winpty/

and alias node by prepending with winpty

alias node='winpty path/to/node'
alias npm='winpty path/to/npm'

Testing

Conemu has a bunch of ansi color testers

cd /path/to/ConEmu/ConEmu/Addons
cat AnsiColors256.ans