antfu-collective / ni

💡 Use the right package manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command "ni" does not work in Windows 11

akirarika opened this issue · comments

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

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