25 lines
627 B
Markdown
25 lines
627 B
Markdown
|
|
# pip index
|
||
|
|
|
||
|
|
> Inspect information available from package indexes.
|
||
|
|
> More information: <https://pip.pypa.io/en/stable/cli/pip_index/>.
|
||
|
|
|
||
|
|
- List all available versions of a package:
|
||
|
|
|
||
|
|
`pip index versions {{package}}`
|
||
|
|
|
||
|
|
- List versions from a specific index:
|
||
|
|
|
||
|
|
`pip index versions {{package}} --index-url {{https://test.pypi.org/simple/}}`
|
||
|
|
|
||
|
|
- Include pre-release versions:
|
||
|
|
|
||
|
|
`pip index versions {{package}} --pre`
|
||
|
|
|
||
|
|
- Include an additional index:
|
||
|
|
|
||
|
|
`pip index versions {{package}} --extra-index-url {{https://example.com/simple/}}`
|
||
|
|
|
||
|
|
- List versions for a specific platform:
|
||
|
|
|
||
|
|
`pip index versions {{package}} --platform {{linux_x86_64}}`
|