Last active
September 29, 2023 15:05
-
-
Save gautric/b688593486fad342d2385af2124ac291 to your computer and use it in GitHub Desktop.
macport
This file contains hidden or 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
#!/bin/sh | |
## source : https://gist.github.com/gautric/b688593486fad342d2385af2124ac291 | |
echo "#> sudo port -v selfupdate" | |
sudo port -v selfupdate | |
echo "#> sudo port upgrade outdated" | |
sudo port upgrade outdated | |
echo "#> sudo port uninstall inactive" | |
sudo port uninstall inactive | |
echo "#> brew update && brew upgrade" | |
brew update && brew upgrade | |
echo "#> Pip" | |
pip3 list --outdated | tail -n +3 | cut -d ' ' -f 1 | xargs -n1 pip3 install -U | |
echo "#> NPM" | |
npm outdated -g --depth=0 | awk '{print $1}' | tail -n +2 | xargs npm update -g | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment