Skip to content

Commit fdb8619

Browse files
authored
Add installation instruction
1 parent db00603 commit fdb8619

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99

1010
Use `uv` to create virtual environments and install packages for `pre-commit`.
1111

12+
## Installation
13+
14+
With pipx:
15+
16+
```shell
17+
pipx install pre-commit
18+
pipx inject pre-commit pre-commit-uv
19+
```
20+
21+
With uv:
22+
23+
```shell
24+
uv tool install pre-commit --with pre-commit-uv --force-reinstall
25+
```
26+
1227
## Why?
1328

1429
Compared to upstream `pre-commit` will speed up the initial seed operation. In general, upstream recommends caching the

0 commit comments

Comments
 (0)