Terminal commands for updating everything

Posted on:

Windows

winget upgrade
winget upgrade --all
choco outdated -l
choco upgrade all
scoop update
Update-Module
Get-Help [Command]
Update-Help [-UICulture en-US]

Linux

Updating pip and all python packages in the current venv

python3 -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 python3 -m pip install --upgrade

Updating Rust and all its tools

rustup update
rustup self update