macOS comes with Python so there's a chance
pip is already installed on your machine.
curl https://bootstrap.pypa.io/get-pip.py > get-pip.py sudo python get-pip.py
pip is installed properly run
If it returns a version
pip was successfully installed.
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
Uninstall a package
pip uninstall <package>