CMake GUI install

Homebrew Cask packages GUI (graphical) programs. Many users install only the CMake CLI tools with:

brew install cmake

This does not install the cmake-gui program.

To install CMake-GUI:

brew install --cask cmake

To use cmake-gui from terminal, add this to ~/.zprofile:

export PATH=$PATH:/Applications/CMake.app/Contents/bin

Confirm the /Applications path from the cmake-gui line under Artifacts:

brew info --cask cmake

When launching from terminal, specify -S . and -B build to prefill source and build directories:

cmake-gui -S . -B build

Linux CMake GUI install

The CMake GUI is installable by package managers like:

apt install cmake-qt-gui
# or
dnf install cmake-gui
# or
pacman -S cmake-gui

Windows CMake GUI install

On Windows, CMake GUI comes with the CMake package itself like:

winget install Kitware.CMake