Skip to content

Commit 59400cf

Browse files
authored
Merge pull request #61 from nahoj/patch-1
readme: update copier install/run
2 parents 298b33c + ccd6253 commit 59400cf

1 file changed

Lines changed: 28 additions & 7 deletions

File tree

README.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,36 @@ This template includes good pack of prebuilt files:
2828

2929
Install [copier](https://copier.readthedocs.io/en/stable/):
3030

31-
```xsh
32-
xpip install copier jinja2-time cookiecutter
31+
* From pip:
3332

34-
# OR using pipx (https://pypa.github.io/pipx/):
35-
pipx install copier>=9
36-
pipx inject copier copier-templates-extensions
37-
```
33+
```xsh
34+
pip install copier copier-templates-extensions
35+
```
36+
37+
* From xonsh-env (xonsh mamba install):
38+
39+
```xsh
40+
xpip install copier copier-templates-extensions
41+
xbin-add copier
42+
```
43+
44+
* From [uv](https://docs.astral.sh/uv/):
45+
46+
```xsh
47+
# Start creating a xontrib using one liner:
48+
uvx --with copier-templates-extensions copier copy --trust gh:xonsh/xontrib-template .
49+
# or just install:
50+
uv tool install --with copier-templates-extensions copier
51+
```
52+
53+
* From [pipx](https://pypa.github.io/pipx/):
54+
55+
```xsh
56+
pipx install copier>=9
57+
pipx inject copier copier-templates-extensions
58+
```
3859

39-
Create your new xontrib:
60+
Then create your new xontrib:
4061

4162
```xsh
4263
copier copy --trust gh:xonsh/xontrib-template .

0 commit comments

Comments
 (0)