> For the complete documentation index, see [llms.txt](https://docs.facefusion.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facefusion.io/installation.md).

# Installation

### 1. Prepare Your Platform

{% content-ref url="/pages/ptDjEJiQYmfMKwnxmnC4" %}
[Linux](/installation/platform/linux.md)
{% endcontent-ref %}

{% content-ref url="/pages/f5VPIJhtmtQI6rHI2jW6" %}
[macOS](/installation/platform/macos.md)
{% endcontent-ref %}

{% content-ref url="/pages/mM490Q5CntMz0QwbTjBC" %}
[Windows](/installation/platform/windows.md)
{% endcontent-ref %}

### 2. Prepare Your Environment

Initialize conda for your terminal:

```
conda init --all
```

Create the environment:

```
conda create --name facefusion python=3.12 pip=25.0
```

Activate the environment:

```
conda activate facefusion
```

### 3. Install Your Accelerator

{% content-ref url="/pages/WSUlX58OkGceZcsC8ImV" %}
[Linux](/installation/accelerator/linux.md)
{% endcontent-ref %}

{% content-ref url="/pages/0nysjox1RHxmvx1S1abS" %}
[Windows](/installation/accelerator/windows.md)
{% endcontent-ref %}

### 4. Download Your Copy

Clone the repository:

```
git clone https://github.com/facefusion/facefusion
```

Ensure to enter the directory:

```
cd facefusion
```

### 5. Install The Application

{% tabs fullWidth="false" %}
{% tab title="CPU" %}

```
python install.py default
```

{% endtab %}

{% tab title="CUDA" %}

```
python install.py cuda
```

{% endtab %}

{% tab title="CoreML" %}

```
python install.py default
```

{% endtab %}

{% tab title="DirectML" %}

```
python install.py directml
```

{% endtab %}

{% tab title="MIGraphX" %}

```
python install.py migraphx
```

{% endtab %}

{% tab title="OpenVINO" %}

```
python install.py openvino
```

{% endtab %}
{% endtabs %}

### 6. Reload Your Environment

```
conda deactivate
```

```
conda activate facefusion
```

### 7. Done

Finally, run the program:

```
python facefusion.py run --open-browser
```
