How to get colors from 'ls' command on macOS
You'll want to open the Preferences window in Terminal.app. Turn to the Profiles tab, and then the Advanced tab. You'll see that it says &quot;Declare terminal as&quot;, which you would have set to vt100. Change this to xterm-256color.
Now you can run ls -G to see a coloured ls output.