docs: remove legacy cmd examples in favor of powershell (#20323)

avoid flakes
This commit is contained in:
Tommaso Sciortino
2026-02-25 12:09:49 -08:00
committed by GitHub
parent b765fb8af4
commit 4aec3cdb24

View File

@@ -19,16 +19,7 @@ can find your npm cache path by running `npm config get cache`.
rm -rf "$(npm config get cache)/_npx" rm -rf "$(npm config get cache)/_npx"
``` ```
**For Windows** **For Windows (PowerShell)**
_Command Prompt_
```cmd
:: The path is typically %LocalAppData%\npm-cache\_npx
rmdir /s /q "%LocalAppData%\npm-cache\_npx"
```
_PowerShell_
```powershell ```powershell
# The path is typically $env:LocalAppData\npm-cache\_npx # The path is typically $env:LocalAppData\npm-cache\_npx