conda-create
create isolated conda environments
TLDR
Create a new environment with Python
SYNOPSIS
conda create [options] [packages...]
DESCRIPTION
conda create initializes a new isolated conda environment, which is a self-contained directory structure containing a specific collection of packages and their dependencies. Environments are conda's fundamental mechanism for managing multiple projects with potentially conflicting package requirements on the same system.
The creation process involves specifying the environment name (or prefix path), the desired Python version, and any initial packages to install. Conda performs dependency resolution to ensure all specified packages and their dependencies are compatible, then downloads and installs the required packages into the new environment directory. Environments can be created with minimal packages and later extended, or fully specified upfront with a complete package set.
The --clone option provides a way to duplicate existing environments, which is useful for experimentation or creating backup environments. The --file option allows reading package specifications from a file, enabling reproducible environment creation. Environments created with --prefix can exist anywhere on the filesystem, while named environments (--name) are stored in conda's default envs directory. Once created, environments must be activated before their packages become available to the shell.
PARAMETERS
-n, --name name
Name of the new environment.-p, --prefix path
Full path to environment location.--file file
Read package versions from file.--clone env
Clone an existing environment.-c, --channel channel
Additional channel to search for packages.-y, --yes
Don't ask for confirmation.
CAVEATS
Environment names cannot contain spaces. Use --prefix for environments outside the default envs directory.
SEE ALSO
conda(1), conda-activate(1), conda-remove(1)
