[BUG] npm should use PowerShell by default on Windows #6789
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Release 10.x
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
The problem here is that cmd does not work with a few things that are now part of a Windows developer's daily workflow, like using WSL and it's network shared file system. cmd does not understand UNC file paths and therefore npm is broken by default when you first try to use it. Yes the default shell and default script shell can be changed but there is no reason why the default should still be cmd in the first place, imo.
There were recent changes in that PR that made npm work with PowerShell so I once again want to ask if it can now be made default. npm is a Microsoft product, cmd is the past, PowerShell is the future in the Windows ecosystem, you guys need to properly support and embrace it.
Answer: npm on Windows uses the old cmd instead of PowerShell
Expected Behavior
npm should use PowerShell by default
Steps To Reproduce
Environment
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered: