Skip to content

Commit d40efa4

Browse files
committed
Update install demo
1 parent 8f9e8e3 commit d40efa4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

demo-notes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ Run the demos in VS Code for the combined view of the file contents and the term
4343

4444
### Pre-commit package installation
4545

46-
1. With a pre-made virtual environment activated, run `python3 -m pip install pre-commit`.
47-
2. Run `pre-commit --version` to show it worked.
46+
1. Poll the audience to see if more people are using `uv` or `pip`.
47+
2. Install `pre-commit` with the method most people are using:
48+
- `pip`: With a pre-made virtual environment activated, run `python3 -m pip install pre-commit`.
49+
- `uv`: Run `uv tool install pre-commit --with pre-commit-uv` (no need to activate anything).
50+
3. Run `pre-commit --version` to show it worked.
4851

4952
### Install first set of hooks
5053

0 commit comments

Comments
 (0)