Skip to content

Instantly share code, notes, and snippets.

@scovetta
Created March 24, 2024 13:10
Show Gist options
  • Save scovetta/7e1b1c380548d51b9f428b10294300b8 to your computer and use it in GitHub Desktop.
Save scovetta/7e1b1c380548d51b9f428b10294300b8 to your computer and use it in GitHub Desktop.
Update all pip dependencies
#!/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