Symfony 5 and sudo commad using Windows 10

135 views Asked by At

I am following Fabien Potencier's book "Symfony 5: The Fast Track". I develop the project using Windows 10 pro 64 bit. The author of the book, however, works with Linux. In chapter 27 the following command should be executed, which works on Linux, but not on Windows 10:

sudo API_ENDPOINT = 'symfony var: export SYMFONY_DEFAULT_ROUTE_URL --dir = ..' yarn encore dev

I have installed Sudo for Windows, but the problem is not solved.

How do I run this command on Windws 10?

0

There are 0 answers