Homebrew 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