When a site cannot send email, the lost password link does not help.
wp user reset-password admin --skip-email --show-password
This sets a new random password for the user. --skip-email stops WordPress from sending the notification, and --show-password prints the password in the terminal so you can pass it on. You can give several logins or IDs in one call. Use --porcelain instead of --show-password when a script should receive only the password. The terminal scrollback and shell history can keep what you print, so change the password again after the first login.
Further reading: WP-CLI: wp user reset-password