Show size: du -sh /var/cache/apt/archives
Clean: sudo apt-get clean
sudo apt-get autoremove --purge
yum clean all
more...
npm cache clean --force
just don't!.
more...
composer clearcache
more...
gem cleanup
more...
npm outdated -g --depth=0
npm install -g <package-name>
or
npm update -g <package-name>
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
do
npm -g install "$package"
done
Use npm outdated <package> -g --depth=0 --parseable | cut -d: -f2
to install wanted, -f3
for current, -f4
for latest.