pip list command code example Example 1: pip packages list pip list [options] Example 2: list all pip packages pip3 freeze