1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/conda.md
Lena b596b78b18
pages/*: standardize mentioning subcommands without the main command (#13626)
* pages/*: standardize mentioning subcommands without the main command

* CONTRIBUTING: clarify that pages should only mention the subcommand
2024-10-04 21:14:41 +02:00

37 lines
824 B
Markdown

# conda
> Package, dependency and environment management for any programming language.
> Some subcommands such as `create` have their own usage documentation.
> More information: <https://github.com/conda/conda>.
- Create a new environment, installing named packages into it:
`conda create --name {{environment_name}} {{python=3.9 matplotlib}}`
- List all environments:
`conda info --envs`
- Load an environment:
`conda activate {{environment_name}}`
- Unload an environment:
`conda deactivate`
- Delete an environment (remove all packages):
`conda remove --name {{environment_name}} --all`
- Install packages into the current environment:
`conda install {{python=3.4 numpy}}`
- List currently installed packages in current environment:
`conda list`
- Delete unused packages and caches:
`conda clean --all`