mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
532 B
Plaintext
22 lines
532 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# conda run
|
|
|
|
> Run an executable command in a conda environment.
|
|
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/run.html>.
|
|
|
|
- Run a command in the currently active environment:
|
|
|
|
`conda run {{command}}`
|
|
|
|
- Target an environment by name:
|
|
|
|
`conda run {{[-n|--name]}} {{environment_name}} {{command}}`
|
|
|
|
- Target an environment by its path (i.e. prefix):
|
|
|
|
`conda run {{[-p|--prefix]}} {{path/to/env}} {{command}}`
|