antfu-collective / ni

💡 Use the right package manager
MIT License
6.25k stars 208 forks source link

feat: show agent on--whoami flag #200

Closed gearonix closed 7 months ago

gearonix commented 7 months ago

Description

New feature: find out which package manager is currently in use

ni --whoami  # agent pnpm

There is no other way except to go to the root of the project to see the .lock file

antfu commented 7 months ago

You can use na \? or na -v to do so.