Update all package managers in one command.
- Download:
wget https://raw.githubusercontent.com/Quexint/upm/master/upm.sh ~/upm.sh
- Change file mode:
sudo chmod a+x ~/upm.sh
- Run:
~/upm.sh
Root | Application | For | Commands |
---|
- | Advanced Packaging Tool | Linux |
sudo apt-get update; sudo apt-get upgrade;
| fink | macOS |fink selfupdate; fink update-all;
| Homebrew | macOS |brew update; brew upgrade; brew cleanup;
| Homebrew Caskroom | macOS |brew cask update; brew cask cleanup;
| Nix | Linux / macOS |nix-channel --update nixpkgs; nix-env -u '*';
- | Mac App Store | macOS |
sudo softwareupdate -i -a;
- | MacPorts | macOS |
sudo port selfupdate; sudo port upgrade outdated;
- | Pacman | Arch Linux |
sudo pacman -Syyu --noconfirm;
| Urpmi | Linux |urpmi.update -a; urpmi --auto-select;
- | Yellowdog Updater, Modified (yum) | Linux |
sudo yum update; sudo yum upgrade;
Root | Application | For | Commands |
---|---|---|---|
Anaconda | Python | conda update conda; conda update anaconda; |
|
Cabal | Haskell | cabal update; |
|
Gopm | Go | gopm update; |
|
npm | Node.js | npm install npm -g; npm update -g; |
|
PEAR | PHP | pear upgrade-all; |
|
pip | Python | `pip freeze --local | grep -v '^-e' |
pip3 | Python | `pip3 freeze --local | grep -v '^-e' |
RubyGems | Ruby | gem update --system; gem update; |
- | TexLive | TeX |
sudo tlmgr update --all;
Application | Commands |
---|---|
Bower | bower update; |
Bundler | bundle update; |
CocoaPods | pods update; |
Composer | composer update; |
Maven | mvn clean install; |
npm | npm update; |