Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

_Zaman's avatar

'sudo' is not recognized as an internal or external command

Hi, I am trying to install a Laravel-auth from GitHub and there is an instruction to run "sudo chmod -R 755 ../laravel-auth" in the root folder but when I run this comment it's showing

λ sudo chmod -R 755 ../laravel-auth 'sudo' is not recognized as an internal or external command, operable program or batch file.

I can't understand why showing this error? Can anyone help me?

0 likes
8 replies
Tray2's avatar

There is no such thing as sudo or chmod in Windows. You can ignore those commands.

The instruction is for Mac and Linux machines.

Tray2's avatar

There are not that many using Windows as dev machines. I would also recommend that you switch to a linux virtual machine for you dev. It's much easier to follow in the tutorials and most of the web servers out there are running some kind of *nix.

Or you can build your own

_Zaman's avatar

Can I able to install now to skip the Linux command?

Tray2's avatar

Since it has to do with permissions and Windows another solution for it's permissions so probably yes.

Please or to participate in this conversation.