> 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 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 des 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érez des médias :** Créez et entraînez localement des images, des vidéos et de la synthèse vocale

<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 du 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
```

#### Installez Unsloth Studio nightly

```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.

#### Lancez Unsloth Studio

```bash
unsloth studio -H 0.0.0.0 -p 8888
```

Pour des instructions d'installation détaillées et les prérequis 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 fichier téléchargé `.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 de bureau Linux. Cela ne supprime pas les modèles Hugging Face téléchargés.

#### Supprimez 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 cet emplacement à la place.


---

# 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
