Last active
January 12, 2022 19:50
-
-
Save privatmamtora/fcfd3a1076b58ab4de37 to your computer and use it in GitHub Desktop.
Command to update package managers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias update='sudo softwareupdate -i -a; brew update; brew upgrade --all; brew cleanup; brew cask cleanup; brew prune; npm update -g npm; npm update -g; sudo gem update --system; gem update; gem cleanup; pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U; sudo composer self-update; composer global update; . updatePerl; cpan -u; meteor update;' |
Covers
OS X update
HomeBrew
Composer
Gems
Meteor
Node
Python
Perl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uses https://gist.github.com/privatmamtora/75c74cc937d54c3620ac for the perl updating
I found that the
perlbrew upgrade-perl
doesn't seem to work.So I just created a mini script to do it step by step.