这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/source/user-guide/cheatsheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ See the :download:`conda cheatsheet <conda-cheatsheet.pdf>` PDF (3 MB) for a dow
version as well, to keep the URL of the conda cheetsheet the same.
Thank you!

- :download:`conda 24.4.0 <cheatsheets/conda-24.4.0.pdf>` (latest)
- :download:`conda 25.3.1 <cheatsheets/conda-25.3.1.pdf>` (latest)

- :download:`conda 24.4.0 <cheatsheets/conda-24.4.0.pdf>`

- :download:`conda 4.14.x <cheatsheets/conda-4.14.pdf>`

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
list installed packages,``conda list``
list installed packages with source info,``conda list --show-channel-urls``
update all packages,``conda update --all``
install a package from specific channel,"``conda install -c CHANNELNAME PKGNAME``
install a package from specific channel,"``conda install --channel CHANNELNAME PKGNAME``

``conda install CHANNELNAME::PKGNAME``"
install specific version of package,``conda install PKGNAME=3.1.4``
install package with AND logic,"``conda install PKGNAME>2.5, <3.2``"
install package with OR logic,``conda install PKGNAME [version=2.5|3.2’]”``
install package with AND logic,"``conda install "PKGNAME>2.5, <3.2"``"
install package with OR logic,``conda install "PKGNAME [version='2.5|3.2']"``
uninstall package,``conda uninstall PKGNAME``
view channel sources,``conda config --show-sources``
add channel,``conda config --add channels CHANNELNAME``
Expand Down
Binary file not shown.
14 changes: 7 additions & 7 deletions docs/source/user-guide/cheatsheets/environment-management.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
create environment with Python version,``conda create -n ENVNAME python=3.10``
clone environment,``conda create --clone ENVNAME -n NEWENV``
rename environment,``conda rename -n ENVNAME NEWENVNAME``
delete environment by name,``conda remove -n ENVNAME --all``
list revisions made to environment,``conda list -n ENVNAME --revisions``
restore environment to a revision,``conda install -n ENVNAME --revision NUMBER``
uninstall package from specific channel,``conda remove -n ENVNAME -c CHANNELNAME PKGNAME``
create environment with Python version,``conda create --name ENVNAME python=3.10``
clone environment,``conda create --clone ENVNAME --name NEWENV``
rename environment,``conda rename --name ENVNAME NEWENVNAME``
delete environment by name,``conda remove --name ENVNAME --all``
list revisions made to environment,``conda list --name ENVNAME --revisions``
restore environment to a revision,``conda install --name ENVNAME --revision NUMBER``
uninstall package from specific channel,``conda remove --name ENVNAME --channel CHANNELNAME PKGNAME``
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from a .yml file,``conda env create -n ENVNAME --file ENV.yml``
from a .txt file,``conda create -n ENVNAME --file ENV.txt``
from a .yml file,``conda env create --name ENVNAME --file ENV.yml``
from a .txt file,``conda create --name ENVNAME --file ENV.txt``
2 changes: 1 addition & 1 deletion docs/source/user-guide/cheatsheets/quickstart.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
verify conda install and check version,``conda info``
update conda in base environment,``conda update -n base conda``
update conda in base environment,``conda update --name base conda``
install latest anaconda distribution (see release notes),``conda install anaconda``
create a new environment (tip: name environment descriptively),``conda create --name ENVNAME``
activate environment (do this before installing packages),``conda activate ENVNAME``
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
list all environments and locations,``conda info --envs``
list all packages + source channels,``conda list -n ENVNAME --show-channel-urls``
install packages in environment,``conda install -n ENVNAME PKGNAME1 PKGNAME2``
remove package from environment,``conda uninstall -n ENVNAME PKGNAME``
update all packages in environment,``conda update --all -n ENVNAME``
list all packages + source channels,``conda list --name ENVNAME --show-channel-urls``
install packages in environment,``conda install --name ENVNAME PKGNAME1 PKGNAME2``
remove package from environment,``conda uninstall --name ENVNAME PKGNAME``
update all packages in environment,``conda update --all --name ENVNAME``
2 changes: 1 addition & 1 deletion docs/source/user-guide/conda-cheatsheet.pdf
19 changes: 19 additions & 0 deletions news/14830-update-cheetsheet-may-2025
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* <news item>

### Deprecations

* <news item>

### Docs

* Update the conda cheatsheet to 25.3.1 version. (#14830)

### Other

* <news item>