- Get fzf
- Install all-the-package-names globally:
npm i -g all-the-package-names
- Add the following alias to your .bashrc:
alias npmi = 'all-the-package-names | fzf | xargs npm install'
Just use npmi
instead of npm i <package-name>
. All options work (--save
, -g
etc).
Set a cron job that updates all-the-package-names
(npm update all-the-package-names -g
) at a frequency you see fit.