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

# Installer Unsloth sur Linux

Installez Unsloth Desktop, Unsloth Studio ou Unsloth Core sur Linux.

Pour installer Unsloth Desktop sur Linux, suivez les étapes ci-dessous.

{% stepper %}
{% step %}

### Télécharger

<a href="https://unsloth.ai/download/linux" class="button secondary" data-icon="linux">Télécharger Unsloth pour Linux</a>
{% endstep %}

{% step %}

### Installer

1. Ouvrez le programme d'installation d'Unsloth (`.deb` fichier)
2. Sélectionnez Installer
3. Lancez l'application et attendez la fin de l'installation
   {% endstep %}

{% step %}

### Choisissez un modèle

Ouvrez Sélectionner un modèle ou Model hub, choisissez un modèle et une quantification, puis téléchargez-le. Une fois terminé, commencez à discuter — aucune configuration requise.

<figure><img src="https://550366147-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FNCEVgKLJI0goPqjgcg9B%2Fmodel%20hub%20models.png?alt=media&amp;token=533b5e3c-a901-4b33-963e-4a703cc9d5a6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Unsloth est maintenant prêt

Pour commencer à discuter, tapez un message et appuyez sur Entrée.

* **Connectez les outils :** [Claude Code](/docs/fr/notions-de-base/claude-code.md), [Codex](/docs/fr/notions-de-base/codex.md), recherche web, [MCP](/docs/fr/notions-de-base/mcp.md) et plus encore
* **Entraîner des modèles :** Ajustez finement du texte, de la diffusion, des embeddings et plus encore
* **Générer des médias :** Créez et entraînez des images, des vidéos, de la synthèse vocale localement

<figure><img src="https://550366147-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FpAGvwjGD0iVMZKBoyu7m%2Fgreeennn.png?alt=media&amp;token=d17a5528-8375-444c-9aff-f9e9f7903bcd" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Installation avancée

Utilisez ces options pour les versions de développement, Unsloth Studio nightly ou Unsloth Core basé sur le code.

#### Installez Unsloth Studio depuis le dépôt principal

```bash
git clone https://github.com/unslothai/unsloth
cd unsloth
./install.sh --local
unsloth studio -H 0.0.0.0 -p 8888
```

#### Installer la version nightly d'Unsloth Studio

```bash
git clone https://github.com/unslothai/unsloth
cd unsloth
git checkout nightly
./install.sh --local
unsloth studio -H 0.0.0.0 -p 8888
```

#### Installez Unsloth Core avec uv

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv unsloth_env --python 3.13
source unsloth_env/bin/activate
uv pip install unsloth --torch-backend=auto
```

Ou installez directement la dernière version pip :

```bash
pip install unsloth
```

Pour installer vLLM avec Unsloth :

```bash
uv pip install unsloth vllm --torch-backend=auto
```

Pour les environnements virtuels, les commandes spécifiques à CUDA et Torch, et les options avancées de pip :

[**Consultez le guide d'installation avancée de pip**](https://unsloth.ai/docs/get-started/install/pip-install)

### Installez Unsloth Studio manuellement

La commande ci-dessous installe **Unsloth Studio**, l'interface web basée sur le navigateur. Elle n'installe pas l'application Desktop native.

```bash
curl -fsSL https://unsloth.ai/install.sh | sh
```

Utilisez la même commande pour mettre à jour Unsloth Studio.

#### Lancer Unsloth Studio

{% tabs %}
{% tab title="Lancement local" %}

```bash
unsloth studio
```

{% endtab %}

{% tab title="Accès à distance" %}

```bash
unsloth studio --secure
```

{% endtab %}
{% endtabs %}

Pour des instructions d'installation et des exigences détaillées d'Unsloth Studio, [consultez le guide Unsloth Studio](https://unsloth.ai/docs/new/studio/install).

### Désinstaller

#### Unsloth Desktop

**Ubuntu ou Debian (`.deb`)**

1. Fermez Unsloth s'il est en cours d'exécution.
2. Supprimez le paquet :

```bash
sudo apt remove unsloth
```

**AppImage**

1. Fermez Unsloth s'il est en cours d'exécution.
2. Supprimez le `.AppImage` fichier.

La désinstallation d'Unsloth Desktop ne supprime pas les modèles téléchargés ni vos fichiers.

#### Unsloth Studio (installation manuelle)

Exécutez le script de désinstallation Linux :

```bash
curl -fsSL https://raw.githubusercontent.com/unslothai/unsloth/main/scripts/uninstall.sh | sh
```

Cela supprime Unsloth Studio, sa commande CLI, les données du lanceur et les raccourcis du bureau Linux. Cela ne supprime pas les modèles Hugging Face téléchargés.

#### Supprimer les fichiers de modèles téléchargés

Le cache Hugging Face par défaut est :

```bash
~/.cache/huggingface/hub/
```

Si `HF_HUB_CACHE`, `HF_HOME`, ou `XDG_CACHE_HOME` est défini, utilisez plutôt cet emplacement.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://unsloth.ai/docs/fr/commencer/install/linux.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
