how to activate fresh nextcloudpi at a terminal, need login/password ?

https://help.nextcloud.com/t/how-to-access-nextcloudpi-first-time-activation/126309/1

You start with your webbroser, than you setup ssh access.