commands.sh

conda run

all

Run an executable command in a conda environment.

More info →

Options (2)

-n, --nameboolean

Target an environment by name

Example: conda run {{[-n|--name]}} {{environment_name}} {{command}}
-p, --prefixboolean

Target an environment by its path (i.e. prefix)

Example: conda run {{[-p|--prefix]}} {{path/to/env}} {{command}}

Examples (3)

Run a command in the currently active environment

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
made by @shridhargupta | data from tldr-pages