commands.sh

conda create

all

Create new conda environments.

More info →

Options (4)

boolean

Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations

Example: conda create {{[-ny|--name --yes]}} py39 python=3.9 "numpy>=1.11 scipy"
-n, --nameboolean

Create a new environment named `myenv` and install packages listed in files

Example: conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
-p, --prefixboolean

Create a new environment at a custom path (i.e. prefix)

Example: conda create {{[-p|--prefix]}} {{path/to/myenv}}
-h, --helpboolean

Display help

Example: conda create {{[-h|--help]}}

Examples (5)

Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations

conda create [-ny|--name --yes] py39 python=3.9 "numpy>=1.11 scipy"

Create a new environment named `myenv` and install packages listed in files

conda create [-n|--name] myenv --file file1.yml --file file2.yml

Create a new environment at a custom path (i.e. prefix)

conda create [-p|--prefix] path/to/myenv

Make exact copy of an environment named `py39`

conda create --clone py39 [-n|--name] py39-copy

Display help

conda create [-h|--help]
made by @shridhargupta | data from tldr-pages