File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ # pip list
2
+
3
+ > List installed Python packages.
4
+ > More information: < https://pip.pypa.io/en/stable/cli/pip_list/ > .
5
+
6
+ - List installed packages:
7
+
8
+ ` pip list `
9
+
10
+ - List outdated packages that can be upgraded:
11
+
12
+ ` pip list {{[-o|--outdated]}} `
13
+
14
+ - List up-to-date packages:
15
+
16
+ ` pip list {{[-u|--uptodate]}} `
17
+
18
+ - List packages with JSON formatting:
19
+
20
+ ` pip list --format json `
21
+
22
+ - List packages that are not required by other packages:
23
+
24
+ ` pip list --not-required `
25
+
26
+ - List packages installed in user-site only:
27
+
28
+ ` pip list --user `
29
+
30
+ - List packages and exclude editable packages from output:
31
+
32
+ ` pip list --exclude-editable `
33
+
34
+ - List packages in freeze format (unlike ` pip freeze ` , does not show editable install information):
35
+
36
+ ` pip list --format freeze `
Original file line number Diff line number Diff line change 24
24
25
25
` pip freeze > {{requirements.txt}} `
26
26
27
+ - List installed packages:
28
+
29
+ ` pip list `
30
+
27
31
- Show installed package info:
28
32
29
33
` pip show {{package}} `
You can’t perform that action at this time.
0 commit comments