A short post on how to update all the packages for various package managers, be it programming language specific ones, or ones from OS-level package managers. For all the times you want to get your system up-to-date on all fronts.
If you have some other package manager commands, post them as comment below!
WinGet
Chocolatey
choco upgrade all
cup all
|
Apt
apt update
apt upgrade
apt-get update
apt-get upgrade
|
Brew
Pip
For whatever reason, pip doesn’t have such an option. Instead of applying some unreadable Linux tool chaining, you can use the package pip-review
instead.
pip install --update pip
pip install pip-review
pip-review --local --auto
pip3 install --update pip3
pip3 install pip-review
pip-review --local --auto
|
NPM
Update all globally installed packages:
Vcpkg
Conan
Conan only operates on a provided conanfile.txt, as such, if you want to update a package, you have to manually modify the file.