It’s worth noting that Automattic shipped a thing called Studio:
… a fast, free way to develop locally with WordPress. Share your local sites with clients or colleagues and keep your local development process smooth and simple.
It’s amazing to me that WordPress got to be as dominant as it is without any real answer to “how do I run it locally?” It’s non-trivial, as you need to run PHP, MySQL, and a web server, ideally in a way that mimics how your web host is doing it. I’ve been working with WordPress for a long time, and a lot of that time the answers to local dev environments have been some combination of expensive, janky, or complicated. Then tools like Local and Laravel Forge came along and made things better, but the more the merrier.