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 25f40a82f2
commit 3af6e9624e
+1 -10
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"
```
**For Windows**
_Command Prompt_
```cmd
:: The path is typically %LocalAppData%\npm-cache\_npx
rmdir /s /q "%LocalAppData%\npm-cache\_npx"
```
_PowerShell_
**For Windows (PowerShell)**
```powershell
# The path is typically $env:LocalAppData\npm-cache\_npx