Holt DevOps News

Create admin account via command line

News Categories: Magento

This article was published on: 04/28/21 9:14 AM

Create admin account via command line

Another way to a create admin account / user, we can create a new admin user via command line (cli). Here is how to do it.
Go to Magento 2 root folder, run create a new admin user command line:


bin/magento admin:user:create

It will ask you: username, password, email, first and last name.

Here is what we filled:

Admin user: yourname
Admin password: YourPassword
Admin email: name@email.com
Admin first name: YourName
Admin last name: Team
And get result:

Created Magento administrator user named yourname
magento 2 create admin user

This is an epic footer, don't you think?

We’re Hardcore Experts in Cutting-edge Design & Development Technologies - Worldwide accreditation from leading digital platform providers

Web Development Agency Manchester

The Barn
Woolden Road
M44 5JX

Stalk Us On Social

Web Development Agency London

71-75 Shelton Street
Covent Garden

Let's hook up


0161 676 8989

Copyright 2021 Holt DevOps Ltd - White Label Web Development Digital Agency | 13127888 Registered in England and Wales | Privacy Policy

Ready to work with us?

Drop us your details and we will arrange a social distanced meet & greet or video chat so you can see our beautiful faces.