Skip to content

Commit 39431b5

Browse files
authored
Use a single tab for both commands
1 parent 3db673f commit 39431b5

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/html/installation.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,34 +61,40 @@ also zip applications for specific pip versions, named `pip-X.Y.Z.pyz`.
6161

6262
The zip application can be run using any supported version of Python:
6363

64-
```{pip-cli}
64+
````{tab} Linux
65+
```console
6566
$ python pip.pyz --help
6667
```
6768
6869
If run directly:
69-
70-
````{tab} Linux
7170
```console
7271
$ chmod +x ./pip.pyz
7372
$ ./pip.pyz
7473
```
74+
75+
then the currently active Python interpreter will be used.
7576
````
7677

7778
````{tab} MacOS
7879
```console
80+
$ python pip.pyz --help
81+
```
82+
83+
If run directly:
84+
```console
7985
$ chmod +x ./pip.pyz
8086
$ ./pip.pyz
8187
```
88+
89+
then the currently active Python interpreter will be used.
8290
````
8391

8492
````{tab} Windows
8593
```console
86-
C:\> .\pip.pyz
94+
C:> py pip.pyz --help
8795
```
8896
````
8997

90-
then the currently active Python interpreter will be used.
91-
9298
## Alternative Methods
9399

94100
Depending on how you installed Python, there might be other mechanisms

0 commit comments

Comments
 (0)