9 examples for pip

{{ score }}
  # pip update all packages
pip install -U
        
{{ score }}
  # install django 
pip install django
        
{{ score }}
  # install django version 1.5.1
pip install django==1.5.1
        
{{ score }}
  # update django
pip install --upgrade django
        
{{ score }}
  # list outdated packages 
pip list --outdated
        
{{ score }}
  # cache downloaded packages locally
pip install --download-cache ~/.cache/pip 
        
{{ score }}
  # Upgrade outdated packages - for when "pip install -U" doesn't work
pip list --outdated | sed 's/(.*//g' | xargs pip install -U
        
{{ score }}
  # Upgrade all outdated packages
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
        
{{ score }}
  # Uninstalls package
pip uninstall packageName