Skip to content

Commit

Permalink
Use a single tab for both commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen authored May 28, 2023
1 parent 3db673f commit 39431b5
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docs/html/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,34 +61,40 @@ also zip applications for specific pip versions, named `pip-X.Y.Z.pyz`.

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

```{pip-cli}
````{tab} Linux
```console
$ python pip.pyz --help
```
If run directly:

````{tab} Linux
```console
$ chmod +x ./pip.pyz
$ ./pip.pyz
```
then the currently active Python interpreter will be used.
````

````{tab} MacOS
```console
$ python pip.pyz --help
```
If run directly:
```console
$ chmod +x ./pip.pyz
$ ./pip.pyz
```
then the currently active Python interpreter will be used.
````

````{tab} Windows
```console
C:\> .\pip.pyz
C:> py pip.pyz --help
```
````

then the currently active Python interpreter will be used.

## Alternative Methods

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

0 comments on commit 39431b5

Please sign in to comment.