ConsoleZ maven color output


Recent maven versions do colored output in terminal. Git Bash shows correct colors, but ConsoleZ configured to use git bash does not. It just outputs raw color codes. Does anyone know how to fix it

$ mvn clean
[←[1;34mINFO←[m] Scanning for projects...


I met the same issue in Window10 with Git Bash in both Console2 and ConsoleZ (try different configuration but it does not work).
After a lot of attempt, I decided to give a try to ConEmu.
Amazing, it works perfect. I can configure all my prefer behaviors like in ConsoleX, AND the bottom line is maven now can display correctly like in native git bash.

I think you can give a try to ConEmu.
This is the configuration for GitBash (it’s quite same as ConsoleX)

Settings -> Startup -> Add new (+)

Task parameters

/icon “C:\Program Files\Git\mingw64\share\git\git-for-windows.ico” /dir E:\


“C:\Program Files\Git\bin\sh.exe” –login -i

Remember to update your paths

Hope this helps.

Answered By – Quang Nguyen

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published