v.24.4Improvement
Changed Default Installation Directory on macOS to /usr/local/bin
Changed the default installation directory on macOS from/usr/binto/usr/local/bin. This is necessary because Apple's System Integrity Protection introduced with macOS El Capitan (2015) prevents writing into/usr/bin, even withsudo. #62489 (haohang).
Why it matters
Apple's System Integrity Protection (SIP), introduced in macOS El Capitan (2015), prevents writing to/usr/bin even with elevated sudo privileges. Changing the default install directory avoids permission issues and ensures smoother installations on macOS.How to use it
When installing ClickHouse on macOS, the binaries will now be placed by default in/usr/local/bin instead of /usr/bin. No additional actions are required by users; installers and package managers will follow this new default path.