Skip to content

Instantly share code, notes, and snippets.

@privatmamtora
Last active January 12, 2022 19:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save privatmamtora/fcfd3a1076b58ab4de37 to your computer and use it in GitHub Desktop.
Save privatmamtora/fcfd3a1076b58ab4de37 to your computer and use it in GitHub Desktop.
Command to update package managers
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;'
@privatmamtora
Copy link
Author

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.

@privatmamtora
Copy link
Author

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