Visual Studio Code for CS50 and cli50
(as well as CS50's own web apps) are implemented with Docker containers, "a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings."
To run containers on your own Mac or PC, you just need to install a container platform like Docker Desktop, which is freely available for: