Skip to content

Instantly share code, notes, and snippets.

View ggteixeira's full-sized avatar
🏠
Working a lot!

Gui Teixeira ggteixeira

🏠
Working a lot!
View GitHub Profile
@ggteixeira
ggteixeira / update_all_pip_packages.md
Last active August 6, 2020 15:16
Atulizando todos os pacotes do pip de uma só vez.

Atualizando todos os pacotes do pip (Python) automaticamente.

pipi='pip install --upgrade pip && pip install -r requirements.txt && pip freeze — local | grep -v ^-e | cut -d = -f 1 | xargs -n1 pip install -U && pip freeze > requirements.txt && git add requirements.txt && git commit -m "Updates all packages" && git push'

(Fonte: Hackernoon.)