To log in for the first time, the user is always admin, but the password is dynamic and Nexus generates it during installation for security

located in:

cat /opt/sonatype-work/nexus3/admin.password

Nexus also tells you the location of the password during the login process.