FG

PowerShell not displaying Unix colors

Fresh3 days ago
Mar 15, 202610690 views
Confidence Score0%
0%

Problem

I use various Linux programs on my Windows machine; some of them have colorized output. GnuWin32 and so forth. However, Windows PowerShell does not support Linux colors; it gets a message like (which is the color control code), and renders that instead of the color. Is there any way around this?

Error Output

←[0m31m

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: PowerShell not displaying Unix colors

Low Risk

Powershell is just a text-mode program, running in the Windows console. The Windows console does not support ANSI escape sequences which is what you are seeing. To fix it, it depends a lot on which program you are using. I am guessing you use cygwin…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment