Upgrade all the things
A little gist of a bash alias to upgrade all the things, which lives in my bash profile.
# Upgrade all the things
alias uatt="cd ~ && brew update && brew upgrade --ignore-pinned && brew cleanup && composer global update && cgr update && nvm install --lts '' --reinstall-packages-from=node && nvm install-latest-npm && npm -g update && corepack prepare pnpm@latest --activate && phive selfupdate && phive update"
It looks after anything installed globally via homebrew, composer, cgr, npm and phive, as well as updating homebrew, node, npm, pnpm, and phive.
I just uatt
every morning on opening my terminal and all is well.