Loading…

Magento 2 : How to create a new admin user from terminal

If you want to createĀ a new admin user from terminal in Magento 2 you need to run this command into your Magento 2 directory. php bin/magento admin:user:create –admin-firstname=Jane –admin-lastname=”Doe” –admin-email=”janedoe@email.com” –admin-user=jane –admin-password=”yourpassword1″ Your password must include both numeric and alphabetic characters.