How to accept license of IDA in text mode?

When starting IDA 9.5 text version (idat) I get the message

FATAL ERROR: License not yet accepted, cannot run in batch mode

But the help text of idat does not contain any info how to accept the license.