free
web stats

Fill the form & Get Installation Support

Connect With Us





captcha

Connect With Us





captcha

Magento 2 How to Add Admin User via Command Line

In this tutorial, we will talk about How to Add Admin User via Command Line. As you know, from Magento 2, they add many commands in bin/magento. It may be difficult to get approach with this, so let me explain about ‘How to Add Admin User via Command Line’  in more detail .

How to Add Admin User via Command Line

Go to Magento root folder and see the usage:

Output:


Let’s create a admin account with the following information:

User: magemonkeys
Password: WeLoveMagento123
Email: hi@magemonkeys.com
First Name: magemonkeys
Last Name: Family
See the command line is:

And thus we have successfully created a new admin account, it returned message:


 

Was this article helpful?
YesNo
Fill the below form if you have any Magento programming need.




captcha