Artisan showing inserting "32m", "34;4m" and similar Artisan showing inserting "32m", "34;4m" and similar bash bash

Artisan showing inserting "32m", "34;4m" and similar


Another option is to run the Laravel scripts with the --no-ansi switch, which disables the ANSI codes altogether.


None of the solutions listed have worked for me, adding these lines in Git/etc/bash.bashrc solved the problem.

# remove the winpty PHP aliasesunalias $(alias | grep winpty | grep php | cut -d"=" -f1 | cut -d" " -f2)# support ansi colorexport ANSICON=true

I have found the solution at https://blog.kmelia.net/testing/coloration-dans-git-bash/123

I'm using git bash for windows on Windows 10, my git version is 2.21.0

Hope this helps