Change Mac Terminal Background Color using Command

You can also go to the Mac Terminal Settings Menu and change the Color Scheme, but if you want to change the background of the Terminal using Command on the Shell you are on, you can make use of the osascript script.

macOS % osascript -e 'tell application "Terminal" to set background color of window 1 to {10000,0,0,0}'
Change Terminal Background Color using Command

This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap