1

I installed magento 2 setup on windows 7 and windows 10. In windows 7 commands works fine but in windows 10, nothing happens after running any of magento 2 CLI commands and not even it gives any error.

enter image description here

Tried commands in shell script. Result is in non readable format.

enter image description here

8
  • Please share some more details because i am using Window 10 and its working fine in my system.
    – Yogesh
    May 5, 2018 at 14:47
  • I have attached screenshot of commands on cmd. Please have a look at it.
    – Arun Pal
    May 5, 2018 at 14:59
  • Open Shell Command from xampp control panel
    – Yogesh
    May 5, 2018 at 15:08
  • try cygwin and open as admin rights
    – Guru
    May 5, 2018 at 17:16
  • Tried commands in shell commands , got result in non readable format.
    – Arun Pal
    May 6, 2018 at 14:52

3 Answers 3

1

(1) Click XAMPP icon to launch its cPanel

(2) Click on Shell button

enter image description here

3
2

Please Use Git Bash For Command Line In Windows 10

https://git-scm.com/downloads

1- Start Wamp or Xamp Server

2- Go to Project Directory

3- Right Click and Select Git Bash Here

https://i.stack.imgur.com/hhPmv.png

4-Run magento commands here

https://i.stack.imgur.com/Cu2kY.png

If you face any issue . please commit, i am available for help

1

In case someone is still looking for answer try

php bin\magento

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.