Written on September 09, 2020 by Danny Steenman. Managing your applications and packages can be cumbersome in your local development environment.

Bash users should update.bash_profile and ZSH users should update the.zshrc config with the following alias: update='brew update; brew upgrade; brew cu -ay; brew cleanup; pip install --upgrade `pip list --outdated | awk 'NR>2 {print $1}'`' bash

pip install --upgrade `pip list --outdated | awk 'NR>2 {print $1}'` - Outputs the installed Pip packages that are currently outdated and upgrades them using pip install --upgrade. Note: If you'd rather not update to the latest Pip packages, you can also decide to only update the Pip packager by: pip install --upgrade pip setuptools wheel bash

Related Articles