"Complete a university computer science degree"
Btw there is a Software Engineering PE exam but I don't know anyone who has taken it: https://ncees.org/wp-content/uploads/2015/07/SWE-Apr-2013.pd...
If you take and pass it you can add the title PE to your name in the US.
I think a better alternative is some type of bar-like or CA-like test that anyone can take regardless of qualification, but which you must pass in order to be considered a competent software engineer.