Open Terminal and type:

nano .bash_profile

At the bottom of your .bash_profile, add these lines and save the file.

NOTE:  If you use a Dark terminal theme, use this:

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced


NOTE:  If you use a Light terminal theme, use this:

export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad


Once your .bash_profile is saved, enter the command below:


ls -alh

The output should now be in different colors.

Marianne Carroll

Marianne began her professional career as a musician, recording and touring as a violinist with the 70’s disco sensation CHIC. She then moved into music management as the Executive Director of the Aston Magna Foundation for Music, which sponsored a Summer classical music festival and NEA-funded cross-cultural educational Academy in the Berkshires as well as a concert series at the Metropolitan Museum.

Speak with an Apple Certified expert today

We’d love to discuss your business challenges, even if you’re not sure what your next step is. No pitch, no strings attached.

Let's Talk