Last active
February 15, 2025 14:25
Revisions
-
geosharma revised this gist
Oct 9, 2019 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ # Conda and Anaconda commands A list of conda commands that I regularly use but keep forgetting how to use ## Update conda ``conda update conda`` ## Conda create a new environment with desired python verion ``conda create --name envname python=pythonversion`` If no python=pythonversion is given it will install the default python version for the installed anaconda or conda ## List all environments ``conda evn list`` @@ -19,10 +20,12 @@ If no python=pythonversion is given it will install the default python3 version ## Install a package from a particular channel ``conda install --channel channelname pacakgename`` ## Update package a specific package ``conda update packagename`` ## Update all packages in the current environment ``conda update --all`` ## Update all packages in a particular environment ``conda update -n envname --all`` -
geosharma revised this gist
Oct 9, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -21,6 +21,8 @@ If no python=pythonversion is given it will install the default python3 version ## Update packages ``conda update packagename`` ``conda update --all`` ``conda update -n envname --all`` -
geosharma revised this gist
Oct 9, 2019 . No changes.There are no files selected for viewing
-
geosharma revised this gist
Oct 9, 2019 . No changes.There are no files selected for viewing
-
geosharma renamed this gist
Oct 9, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
geosharma created this gist
Oct 9, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ # Conda and Anaconda commands ## Update conda ``conda update conda`` ## Conda create a new environment with desired python verion ``conda create --name envname python=pythonversion`` If no python=pythonversion is given it will install the default python3 version for the installed anaconda or conda ## List all environments ``conda evn list`` ## Delete an envnironment ``conda env remove --name envname`` ## Install a pacakge in a different environment ``conda install --name envname pacakgename`` ## Install a package from a particular channel ``conda install --channel channelname pacakgename`` ## Update packages ``conda update packagename`` ``conda update --all`` ``conda update -n envname --all``