# how to disable CMake color for stderr?

**URL:** https://discourse.cmake.org/t/how-to-disable-cmake-color-for-stderr/4923
**Category:** Usage
**Created:** [January 28, 2022, 11:45am UTC](https://discourse.cmake.org/t/how-to-disable-cmake-color-for-stderr/4923 "2022-01-28T11:45:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hex/32/363_2.png) [@hex](https://discourse.cmake.org/u/hex)
#### Post date: [January 28, 2022, 11:45am UTC](https://discourse.cmake.org/t/how-to-disable-cmake-color-for-stderr/4923/1 "2022-01-28T11:45:16Z")

</div>

how do i disable colour for CMake’s stderr? My terminal doesn’t support colour.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [January 28, 2022, 2:30pm UTC](https://discourse.cmake.org/t/how-to-disable-cmake-color-for-stderr/4923/2 "2022-01-28T14:30:14Z")

</div>

With CMake 3.21 or later, try setting `CLICOLOR=0` in your environment.
