Pip Uninstall All Packages in One Line

Created at

2025.2.25

Uninstall all packages with pip.

Command

Note that this command skips your check of the packages you will uninstall.

terminal
$ pip freeze | xargs pip uninstall -y

mktia's note

Research & Engineering / Blockchain / Web Dev

© 2017-2025 mktia. All rights reserved.