> 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/de/loslegen/install/mac.md).

# Unsloth auf MacOS installieren

Um Unsloth lokal auf Ihrem lokalen Apple-MacOS-Gerät zu installieren, befolgen Sie die folgenden Schritte:

### Unsloth installieren

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

Verwenden Sie denselben Befehl, um **zu aktualisieren**.

### Starten

Jedes Mal, wenn Sie Unsloth erneut starten möchten:

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

Für detaillierte Installationsanweisungen und Anforderungen für Unsloth Studio, [sehen Sie sich unseren Leitfaden an](/docs/de/neu/studio/install.md).

### Deinstallation

Der empfohlene Weg, Unsloth Studio vollständig zu entfernen, ist das Deinstallationsskript für Ihr Betriebssystem. Es stoppt alle laufenden Server, entfernt die App, den CLI-Befehl, Launcher-Daten, Verknüpfungen und plattformspezifische Einträge (macOS `.app` Bundle + Launch Services; Windows-Startmenü + Registrierung + PATH):

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

#### Manuelle Deinstallation

Wenn Sie lieber nur bestimmte Teile entfernen möchten:

**1. Nur die App entfernen** (behalten Sie Verlauf, Chats, Checkpoints und Exporte unverändert):

* `rm -rf ~/.unsloth/studio/unsloth_studio`

**2. Unsloth vollständig entfernen** (behalten Sie andere Unsloth-Tools unverändert):

* &#x20;`rm -rf ~/.unsloth/studio`

**3. Alles Unsloth-bezogene entfernen:**

* `rm -rf ~/.unsloth`

{% hint style="warning" %}
Hinweis: Schritt 3 löscht alles in Verlauf, Chats, Modell-Checkpoints und Exporten. Dies kann nicht rückgängig gemacht werden.
{% endhint %}

**4. Verknüpfungen und symbolische Links entfernen:**

```shellscript
rm -rf ~/Applications/Unsloth\ Studio.app ~/Desktop/Unsloth\ Studio
```

**5. Den CLI-Befehl entfernen:**

* `rm -f ~/.local/bin/unsloth`

{% hint style="info" %}
Hinweis: Die Schritte 1-5 berühren Ihre heruntergeladenen HF-Modelldateien nicht. Siehe unten Gelöschte zwischengespeicherte HF-Modelldateien, wenn Sie diesen Speicherplatz freigeben möchten.
{% endhint %}

### **Modelldateien löschen**

Sie können alte Modelldateien entweder über das Papierkorb-Symbol in der Modellsuche löschen oder indem Sie den entsprechenden zwischengespeicherten Modellordner aus dem Hugging Face-Cache-Verzeichnis entfernen.

Der standardmäßige Cache-Speicherort ist:

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

Wenn `HF_HUB_CACHE` oder `HF_HOME` festgelegt ist, verwenden Sie stattdessen diesen Speicherort. Sie können dies prüfen mit:

```bash
echo ${HF_HUB_CACHE:-${HF_HOME:-${XDG_CACHE_HOME:-$HOME/.cache}/huggingface}/hub}
```

Um ein bestimmtes Modell zu löschen, entfernen Sie seinen Ordner (z. B. `models--unsloth--Llama-3.1-8B-bnb-4bit`) aus dem Cache-Verzeichnis. Um alle zwischengespeicherten Modelle zu löschen:

```bash
rm -rf ~/.cache/huggingface/hub/
```


---

# 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/de/loslegen/install/mac.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.
