> For the complete documentation index, see [llms.txt](https://data-to-production.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://data-to-production.gitbook.io/product-docs/fundamentals/getting-started/step-3-conda-environment/working-with-conda-environment.md).

# Working with Conda Environment

To create your first conda environment, follow the examples below after opening Terminal or command prompt, depending on your operating system.

### Creating a new folder for your project

```sh
$ cd ~/Desktop
$ mkdir conda_tutorial
$ cd conda_tutorial
```

### Creating environment

```sh
$ conda create --name <your env name>
# replace "your env name" with whatever name you would like to call 
#    for your environment. It is always a good practice to name it 
#    the same as your project
```

### Activating an existing environment

```sh
$ conda activate <your env name>
```

### Installing packages into an existing environment

```sh
$ conda install pip

# you can install pip and then use pip to install packages or can 
#    directly install using conda as follows
$ conda install pandas==<version>
        # OR 
$ pip install numpy==<version_num>
```

### Deactivating the current environment

```sh
$ conda deactivate
# it is a good practice to always deactivate environment when not working on the project
```

### Remove/Delete Conda environment

```sh
$ conda remove -n <env_name> --all
```
