Create Magento 2 admin user from shell/terminal

Thankfully, Magento 2’s newly introduce CLI (command-line interface) allows you to do this without writing any code. Here is an example of how I would execute this command to create a new administrator.

Go to your magento bin folder in terminal, Example – cd <your Magento install dir>/bin and run the following command.


Be the first to comment

Leave a Reply

Your email address will not be published.