Activate/confirm first admin upon fresh installation through command line

Continuing the discussion from Activating admin account from console:

Looks like this is not working anymore:

What would be the way to do it nowadays?

I found the answer here