The obvious answer is to have actual entry-level positions (ie, not “entry level” positions that require 5 years experience) for candidates that can demonstrate they have a little bit of prior work or baseline knowledge.
Self-taught is also a viable option; that’s my personal journey. I started in IT and jumped to dev by learning on my own, but that’s not for everyone.
The third option is to open talent development programs up to people who didn’t go to college. For example, Capital One’s TDP program pays college grads $100k/yr for a 2 year paid internship but is only available for CS grads. Open that up to everyone!