CS50 IDE and cli50
(as well as CS50's web apps) are implemented with containers, "a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, system tools, system libraries, settings."
To run containers on your own Mac or PC, you just need to install a container platform like Docker Community Edition (CE), which is freely available for
and other platforms.