antfu-collective / ni

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

Command "ni" does not work in Windows 11 #176

Closed akirarika closed 1 year ago

akirarika commented 1 year ago

Clear and concise description of the problem

In Windows 11, the default terminal is Powershell. while in Powershell, 'ni' is an alias of 'New-Item'.

I run the 'nr' normally, but when I run 'ni', the result is:

PS A:\coding\test> ni lodash

    目录: A:\coding\test

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----      2023/09/30   下午 8:25              0 lodash

Suggested solution

Maybe change the command to n i lodash or n r dev would be better like this?

Alternative

No response

Additional context

No response

Validations

akirarika commented 1 year ago

I noticed a solution in the document, I closed this issue