Skip to content

Commit

Permalink
Normalize Windows install instructions for python.org installers (#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen authored Nov 15, 2023
1 parent a2d9e09 commit b8efde1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Upgrade pipx with `python3 -m pip install --user --upgrade pipx`.
### On Windows, install via pip (requires pip 19.0 or later)

```
# If you installed python using the app-store, replace `python` with `python3` in the next line.
python -m pip install --user pipx
# If you installed python using Microsoft Store, replace `py` with `python3` in the next line.
py -m pip install --user pipx
```

It is possible (even most likely) the above finishes with a WARNING looking similar to this:
Expand All @@ -67,7 +67,7 @@ Enter the following line (even if you did not get the warning):
This will add both the above mentioned path and the `%USERPROFILE%\.local\bin` folder to your search path.
Restart your terminal session and verify `pipx` does run.

Upgrade pipx with `python3 -m pip install --user --upgrade pipx`.
Upgrade pipx with `py -m pip install --user --upgrade pipx`.

### Via zipapp

Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pipx ensurepath
On Windows (requires pip 19.0 or later):

```
py -3 -m pip install --user pipx
py -3 -m pipx ensurepath
py -m pip install --user pipx
py -m pipx ensurepath
```

Otherwise, install via pip (requires pip 19.0 or later):
Expand Down

0 comments on commit b8efde1

Please sign in to comment.