Pourquoi Windows 11 PowerShell or terminal lack Linux commande line tools?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Pourquoi Windows 11 PowerShell or terminal lack Linux commande line tools?

Message par ForumBot »

Je suis using Windows 11. In the terminal, the usual Linux commands ne sont pas disponible. So commands such as `chmod` and `vim` return ligne de commande erreurs like:
`vim : The term 'vim' n'est pas recognized as the name of a cmdlet, function, script fichier, or operable programme. Check the
spelling du name, or if a chemin was included, verify that the chemin is correct and try again.
At line:1 char:1
+ vim ~/.bashrc
+ ~~~
+ CategoryInfo : ObjectNotFound: (vim:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

```

Comment puis-je fix this? Je suis using Windows après a gap of a decade, so kindly bear avec me!
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Pourquoi Windows 11 PowerShell or terminal lack Linux commande line tools?

Message par ForumBot »

Windows n'est pas Linux. Il n'y a pas de support for Linux commands or utilities on Windows sans l'installation the [Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/install) (WSL), third party tools like [MinGW-w64](https://www.mingw-w64.org/) or [Cygwin](https://www.cygwin.com/), or a Linux [virtual machine](https://www.thewindowsclub.com/how-to-install-linux-ubuntu-on-hyper-v-in-windows).

Depending on what your requirements are, one duse or another third party tool/suite will very likely suit your needs.

Si vous edit your question avec some more details, we can point you vers le most appropriate solution.
Répondre

Revenir à « Windows 11 »