How can colored terminal output be disabled for sbt/play?

Mark Hibberd picture Mark Hibberd · Nov 24, 2010 · Viewed 11.8k times · Source

I would like to disable the color escape codes logged from sbt/play. Is this possible? And if it is, is there a way to do it without making changes to the config - i.e. via a command line switch or system property.

Answer

Steven Shaw picture Steven Shaw · Jul 1, 2015

Since version 0.13.8 (and possibly earlier) you can now simply use the -no-colors option to sbt. e.g.

sbt -no-colors test