# Anaconda And Conda

```bash
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

$ cat ~/.condarc
channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - defaults
ssl_verify: true
show_channel_urls: true

conda --version
conda -h
conda update conda

conda update --all

conda create -n <env_name> <package_names>
conda create -n study numpy matplotlib 

~/anaconda3/env

source activate <env_name>
source activate study

source deactivate

conda env list
conda info --envs
conda info -e

conda remove -n <env_name> --all

conda search --full-name <package_full_name>
conda search <text>
conda list
conda install -n <env_name> <package_name>
conda install <package_name>
conda remove -n <env_name> <package_name>
conda remove <package_name>

conda clean -a

rm -rf ~/anaconda3

conda install nb_conda
conda install -n study ipykernel
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yunzhao.gitbook.io/notes/other/anaconda-and-conda.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
