antfu-collective / ni

💡 Use the right package manager
MIT License
6.42k stars 210 forks source link

fix: windows cmd detection #136

Closed vaaski closed 1 year ago

vaaski commented 1 year ago

On my windows install, the help command doesn't exist. This will throw an error every time I run ni or nr

'help' is not recognized as an internal or external command,
operable program or batch file.

The detection with where should be sufficient anyway.

image