Files
cheatsheet-tldr/tldr/conda-update
2025-10-30 00:20:37 +00:00

30 lines
681 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# conda update
> Update packages within a conda environment, including conda itself.
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/update.html>.
- Update all packages in the current environment:
`conda update {{[--all|--update-all]}}`
- Update a specific package in the current environment:
`conda update {{package_name}}`
- Update conda itself in the base environment:
`conda update {{[-n|--name]}} base conda`
- Update packages while ignoring pinned packages:
`conda update --no-pin`
- Update packages in offline mode:
`conda update --offline`