How to reset lost admin password in Magento 2 ?

magento 2 admin password reset

If you forgot your admin password in magento 2 in localhost you cann’t retrieve by just clicking on lost password. For that you can reset through Magento CLI, then you can easily change password of your original user. Go inside magento directory and type: