macos-setup
  • MacOS Setup Guidance
  • Homebrew
    • Using Homebrew
    • cask
  • Terminal
    • iterm2
    • Terminal Hot keys
    • Zsh
    • Fish
    • tree
  • Git
    • Git Ignore (global)
  • Vagrant
  • Sublime TXT
    • Subl plugins
  • VIM
    • Hot keys
  • Python
    • pip
    • IPython
    • Virtualenv
  • Xcode
  • Evernote
Powered by GitBook
On this page
  • Installation
  • Usage

Was this helpful?

  1. Python

pip

macOS comes with Python so there's a chance pip is already installed on your machine.

Installation

$ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
$ sudo python get-pip.py

To verify pip is installed properly run

$ pip --version

If it returns a version pip was successfully installed.

Usage

Here are a few pip commands to get you started.

Install a Python package

$ pip install <package>

Upgrade a package

$ pip install --upgrade <package>

See what's installed

$ pip freeze

Uninstall a package

$ pip uninstall <package>
PreviousPythonNextIPython

Last updated 5 years ago

Was this helpful?