Generating a Private Key using "mina advanced --generate-keypair"

Hi all,
To generate a private key using the “mina advanced --generate-keypair” command, I encountered the following error:
“unknown sub command --generate-keypair.”
Could you please suggest how to resolve this error?

reference link :-

Thank you.

It’s mina advanced generate-keypair The options are then --privkey-path FILE File to write private key into (public key will be

See the help for more mina advanced generate-keypair -help

Hi @garethtdavies

Thanks for Your response,