Skip to content

Commit 6a770a6

Browse files
authored
docs(exec): Install a specific conda package to temporary environment (#4861)
1 parent a34f01b commit 6a770a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/cli/pixi/exec_extender

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ pixi exec --with py-rattler --with numpy ipython
1111
# Specify the specs of the environment
1212
pixi exec --spec python=3.9 --spec numpy python
1313

14+
# Install a specific conda package to temporary environment
15+
pixi exec --spec ./numpy-2.3.4-py314h2b28147_0.conda -- python
16+
pixi exec --spec https://prefix.dev/conda-forge/noarch/polars-1.35.1-pyh6a1acc5_0.conda -- python
17+
1418
# Force reinstall to recreate the environment and get the latest package versions
1519
pixi exec --force-reinstall --with py-rattler ipython
1620
```

0 commit comments

Comments
 (0)