> 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/jp/meru/install/mac.md).

# MacOSにUnslothをインストール

インストールするには **Unsloth Desktop** Mac でインストールするには、以下の手順に従ってください。

{% stepper %}
{% step %}

### ダウンロード

### <a href="https://unsloth.ai/download/mac" class="button primary" data-icon="apple">Mac 用の Unsloth をダウンロード</a>

{% endstep %}

{% step %}

### インストール

1. Unsloth のインストーラーを開いてください（`.dmg` ファイル）
2. Unsloth を次へドラッグ **アプリケーション**
3. アプリを起動し、インストールが完了するまで待ちます
   {% endstep %}

{% step %}

### モデルを選択

上部の「モデルを選択」ドロップダウンまたは「Model hub」タブを開き、デバイスに合ったモデルと量子化を選択してダウンロードします。完了したら、そのままチャットを始められます。設定は不要です。

<figure><img src="/files/158354856e78d615be54ae9d6435c9ce561b7d4e" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Unsloth の準備ができました

チャットを始めるには、メッセージを入力して Enter キーを押してください。

* **ツールを接続：** [Claude Code](/docs/jp/ji-ben/claude-code.md), [Codex](/docs/jp/ji-ben/codex.md)、ウェブ検索、 [MCP](/docs/jp/ji-ben/mcp.md) など
* **モデルを学習：** テキスト、拡散、埋め込みなどをファインチューニング
* **メディアを生成：** 画像、動画、TTS をローカルで作成・学習

<figure><img src="/files/e80de67ed3ea23603ff90d3a5750d20c31d2e56d" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Unsloth Studio を手動でインストール

以下のコマンドで **Unsloth Studio**、ブラウザベースの Web UI である Unsloth Studio をインストールします。Unsloth Desktop やコードベースの Unsloth Core パッケージはインストールされません。

#### Unsloth Studio をインストール

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

同じコマンドで **更新**.

### 起動

今後 Unsloth を起動するたびに：

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

詳しい Unsloth Studio のインストール手順と要件については、 [ガイドをご覧ください](/docs/jp/xin-gui/studio/install.md).

## アンインストール

### Desktop のアンインストール

1. Unsloth が起動している場合は終了してください
2. 開く **Finder**
3. 移動 **アプリケーション**
4. Unsloth を見つける
5. 右クリック → **ゴミ箱に入れる**

#### Unsloth Studio の手動アンインストール

Unsloth Studio を完全に削除する推奨方法は、お使いの OS 用のアンインストールスクリプトです。実行中のサーバーを停止し、アプリ、CLI コマンド、ランチャーデータ、ショートカット、およびプラットフォーム固有の項目（macOS `.app` バンドル + Launch Services、Windows のスタートメニュー + レジストリ + PATH）を削除します：

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

特定の部分だけを削除したい場合は：

**1. アプリのみ削除** （履歴、チャット、チェックポイント、エクスポートはそのまま保持されます）：

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

**2. Unsloth を完全に削除** （他の Unsloth ツールはそのまま保持されます）：

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

**3. Unsloth 関連のすべてを削除：**

* `rm -rf ~/.unsloth`

{% hint style="warning" %}
注：ステップ 3 では、履歴、チャット、モデルのチェックポイント、エクスポートのすべてが削除されます。元に戻すことはできません。
{% endhint %}

**4. ショートカットとシンボリックリンクを削除：**

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

**5. CLI コマンドを削除：**

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

{% hint style="info" %}
注：ステップ 1〜5 は、ダウンロード済みの HF モデルファイルには触れません。その領域を空けたい場合は、下記のキャッシュされた HF モデルファイルの削除を参照してください。
{% endhint %}

### **モデルファイルの削除**

古いモデルファイルは、モデル検索のゴミ箱アイコンから削除するか、Hugging Face キャッシュディレクトリから該当するキャッシュ済みモデルフォルダを削除して消去できます。

デフォルトのキャッシュ場所は次のとおりです：

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

もし `HF_HUB_CACHE` または `HF_HOME` が設定されている場合は、代わりにその場所を使用してください。確認するには次を実行します：

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

特定のモデルを削除するには、そのフォルダを削除します（例： `models--unsloth--Llama-3.1-8B-bnb-4bit`）をキャッシュディレクトリから削除します。すべてのキャッシュ済みモデルを消去するには：

```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/jp/meru/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.
