CONDA 4.6 CHEAT SHEET

Cheatsheet

Quick Start

Tip: It is recommended to create a new environment for any new project or workflow.

verify conda install and check version

conda info

update conda in base environment

conda update -n base conda

install latest anaconda distribution

create a new environment (tip: name environment descriptively)

activate environment (do this before installing packages)

conda install anaconda conda create --name ENVNAME conda activate ENVNAME

Channels and Packages

Tip: Package dependencies and platform specifics are automatically resolved when using conda.

list installed packages list installed packages with source info update all packages

install a package from specific channel

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)

conda list conda list --show-channel-urls conda update --all conda install -c CHANNELNAME PKGNAME conda install CHANNELNAME::PKGNAME conda install "PKGNAME>2.5, ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download