我平时主要用 powershell 的
```
Get-Content $env:USERPROFILE\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt |%{ ($_ -split ' ')[0]}|Group-Object | sort -Property Count -Descending -Top 10
```
Count Name Group
----- ---- -----
950 git {git, git, git, git…}
467 yarn {yarn, yarn, yarn, yarn…}
121 npx {npx, npx, npx, npx…}
117 nvm {nvm, nvm, nvm, nvm…}
104 npm {npm, npm, npm, npm…}
92 pnpm {pnpm, pnpm, pnpm, pnpm…}
36 gh {gh, gh, gh, gh…}
28 cd {cd, cd, cd, cd…}
22 docker {docker, docker, docker, docker…}
22 ls {ls, ls, ls, ls…}