> 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/linux.md).

# LinuxにUnslothをインストール

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

{% stepper %}
{% step %}

### ダウンロード

### <a href="https://unsloth.ai/download/linux" class="button primary">Linux 用の Unsloth をダウンロード</a>

{% endstep %}

{% step %}

### インストール

1. Unsloth インストーラーを開く（`.deb` ファイル）
2. 「Install」を選択
3. アプリを起動し、インストールが完了するまで待ちます
   {% endstep %}

{% step %}

### モデルを選択

「Select model」または「Model hub」を開き、モデルと量子化を選択してからダウンロードします。完了したら、セットアップ不要ですぐにチャットを開始できます。

<figure><img src="/files/158354856e78d615be54ae9d6435c9ce561b7d4e" alt=""><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=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### 高度なインストール

開発者向けビルド、夜間版の Unsloth Studio、またはコードベースの Unsloth Core には、これらのオプションを使用してください。

#### メインリポジトリから Unsloth Studio をインストール

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

#### 夜間版の 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
```

#### uv で Unsloth Core をインストール

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

または、最新の pip リリースを直接インストールします:

```bash
pip install unsloth
```

Unsloth と一緒に vLLM をインストールするには:

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

仮想環境、CUDA および Torch 固有のコマンド、高度な pip オプションについては、

[**高度な pip インストールガイドを表示**](https://unsloth.ai/docs/get-started/install/pip-install)

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

以下のコマンドは **Unsloth Studio**をインストールします。これはブラウザーベースの Web UI です。ネイティブの Desktop アプリはインストールされません。

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

Unsloth Studio を更新するには、同じコマンドを使用してください。

#### Unsloth Studio を起動

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

Unsloth Studio の詳細なインストール手順と要件については、 [Unsloth Studio ガイドを表示](https://unsloth.ai/docs/new/studio/install).

### アンインストール

#### Unsloth Desktop

**Ubuntu または Debian（`.deb`)**

1. 実行中の場合は Unsloth を終了してください。
2. パッケージを削除:

```bash
sudo apt remove unsloth
```

**AppImage**

1. 実行中の場合は Unsloth を終了してください。
2. ダウンロードした `.AppImage` ファイルを削除します。

Unsloth Desktop をアンインストールしても、ダウンロード済みのモデルやファイルは削除されません。

#### Unsloth Studio（手動インストール）

Linux のアンインストールスクリプトを実行:

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

これにより、Unsloth Studio、その CLI コマンド、ランチャーデータ、および Linux のデスクトップショートカットが削除されます。ダウンロード済みの Hugging Face モデルは削除されません。

#### ダウンロードしたモデルファイルを削除

デフォルトの Hugging Face キャッシュは次の場所です:

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

もし `HF_HUB_CACHE`, `HF_HOME`、または `XDG_CACHE_HOME` が設定されている場合は、代わりにその場所を使用してください。


---

# 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/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.
