Ask your Question

PEOPLE YOU MIGHT KNOW

Ashish
Ashish

CO-FOUNDER

Hayward,  United States
Simran
Simran

New delhi,  India
yash
yash

hello

surat,  India
Purpletree
Purpletree

Magento and Opencart Extension

Noida,  India
Brand
Brand

Top Digital Marketing Company In Delhi NCR

Gurgaon,  India

Write to us

Ask Question

Create a new admin user in Magento 2 via command line

Himanshi Saini

create-new-admin-user-in-Magento2-via-command line


The php bin/magento admin:user:create command is used to create new admin user via command line.


Syntax:   

php bin/magento admin:user:create --admin-user="your username" --admin-password="your password" --admin-email="emailaddress" --admin-firstname="User Firstname" --admin-lastname='UserLastName'

e.g :

php bin/magento admin:user:create --admin-user="admin" --admin-password="admin@123" --admin-email="info@letsknowit.com" --admin-firstname="Aditya" --admin-lastname='Singh'

Himanshi Saini

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site