Last active
January 14, 2020 20:19
-
-
Save amandajcrawford/7798dcfe2c61c896dd6424813eb28047 to your computer and use it in GitHub Desktop.
Conda Commands for Development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conda | |
================================================================================================== | |
Basic Commands | |
-------------------------------------------------------------------------------------------------- | |
% conda info Check info about conda | |
% conda update conda Update conda to latest version | |
% conda install [package_name] Install [package name] | |
% conda update [package_name] Update [package_name] | |
% conda create --name py36 python=3.6 Create new environment and install py 3.5 | |
% conda activate py35 Activate new environment | |
% conda create --clone py35 --name py35-clone Creates a clone of an environment | |
% conda list List installed packages | |
% conda list --revisions List history of current environment | |
% conda install --revisions 2 Restore environment to previous version | |
% conda list --explicit > my-env.txt Save environment to a text file | |
% conda env create --file my-env.txt Create environment from text | |
% conda env remove --name my-env.txt Delete environment | |
Recipes | |
-------------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment