Created
March 24, 2024 13:10
-
-
Save scovetta/7e1b1c380548d51b9f428b10294300b8 to your computer and use it in GitHub Desktop.
Update all pip dependencies
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
#!/bin/bash | |
pip --disable-pip-version-check list --outdated --format=json | python -c "import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))" | xargs -n1 pip install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment