Cheatsheet#
Refer to the conda cheatsheet for basic commands for creating and managing environments, installing packages, and importing and exporting environments.
Quickstart#
verify conda install and check version |
|
update conda in base environment |
|
install latest anaconda distribution (see release notes) |
|
create a new environment (tip: name environment descriptively) |
|
activate environment (do this before installing packages) |
|
Channels and Packages#
list installed packages |
|
list installed packages with source info |
|
update all packages |
|
install a package from specific channel |
|
install specific version of package |
|
install package with AND logic |
|
install package with OR logic |
|
uninstall package |
|
view channel sources |
|
add channel |
|
set default channel for pkg fetching (targets first channel in channel sources) |
|
Working with Conda Environments#
list all environments and locations |
|
list all packages + source channels |
|
install packages in environment |
|
remove package from environment |
|
update all packages in environment |
|
Environment Management#
create environment with Python version |
|
clone environment |
|
rename environment |
|
delete environment by name |
|
list revisions made to environment |
|
restore environment to a revision |
|
uninstall package from specific channel |
|
Exporting Environments#
cross-platform compatible |
|
platform + package specific |
|
platform + package + channel specific |
|
Importing Environments#
from a .yml file |
|
from a .txt file |
|
Additional Hints#
get help for any command |
|
get info for any package |
|
run commands w/o user prompt, e.g., installing multiple packages |
|
remove all unused files |
|
examine conda configuration |
|