How to install CMAKE on Mac M1 (ARM)

How do I install CMAKE on a Mac M1?

You can download the Universal DMG of CMake 3.19.8 or CMake 3.20.2 from https://cmake.org/download/.