You will need an editable install if you'd like to:  
* Use the `main` version of the source code.
* Contribute to 🤗 Diffusers and need to test changes in the code.  
Clone the repository and install 🤗 Diffusers with the following commands:  
```bash
git clone https://github.com/huggingface/diffusers.git
cd diffusers
```  
<frameworkcontent>
<pt>
```bash
pip install -e ".[torch]"
```
</pt>
<jax>
```bash
pip install -e ".[flax]"
```
</jax>
</frameworkcontent>  
These commands will link the folder you cloned the repository to and your Python library paths.
Python will now look inside the folder you cloned to in addition to the normal library paths.
For example, if your Python packages are typically installed in `~/anaconda3/envs/main/lib/python3.10/site-packages/`, Python will also search the `~/diffusers/` folder you cloned to.  
<Tip warning={true}>  
You must keep the `diffusers` folder if you want to keep using the library.  
</Tip>  
Now you can easily update your clone to the latest version of 🤗 Diffusers with the following command:  
```bash
cd ~/diffusers/
git pull
```  
Your Python environment will find the `main` version of 🤗 Diffusers on the next run.
/Users/nielsrogge/Documents/python_projecten/diffusers/docs/source/en/installation.md