Skip to content

Commit 0d18482

Browse files
docs: encourage python install using pipx (#1207)
1 parent 2ed5cd7 commit 0d18482

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ gem install lefthook
4646
For **Python**:
4747

4848
```bash
49-
pip install lefthook
49+
pipx install lefthook
5050
```
5151

5252
**[Installation guide][installation]** with more ways to install lefthook: [apt][install-apt], [brew][install-brew], [winget][install-winget], and others.

docs/mdbook/installation/python.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ python -m pip install --user lefthook
66

77
```sh
88
uv add --dev lefthook
9-
```
9+
```
10+
11+
```sh
12+
pipx install lefthook
13+
```

0 commit comments

Comments
 (0)