> 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/zh/kuai-su-kai-shi/install.md).

# Unsloth 安装

安装 Unsloth Desktop、Unsloth Studio 或 Unsloth Core。

Unsloth 可通过三种不同方式安装： [**Unsloth Desktop**](/docs/zh/desktop.md)，原生应用； [**Unsloth Studio**](/docs/zh/xin/studio.md)，基于浏览器的 Web UI；或 **Unsloth Core**，最初的基于代码的 Python 包。

### Unsloth Desktop

为您的操作系统下载原生桌面应用：

* <i class="fa-apple">:apple:</i> [下载适用于 macOS 的版本](https://unsloth.ai/download/mac)
* <i class="fa-windows">:windows:</i> [下载适用于 Windows 的版本](https://unsloth.ai/download/windows)
* <i class="fa-linux">:linux:</i> [下载适用于 Linux 的版本](https://unsloth.ai/download/linux)

### Unsloth Studio

**Unsloth Studio** 是我们的基于 Web 的 UI。请按照以下说明原生安装：

{% tabs %}
{% tab title="MacOS、Linux、WSL" %}
**安装 Unsloth：**

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

使用相同命令进行更新。
{% endtab %}

{% tab title="Windows" %}
**安装 Unsloth：**

```powershell
irm https://unsloth.ai/install.ps1 | iex
```

使用相同命令进行更新。
{% endtab %}

{% tab title="Docker" %}
该 [Unsloth Docker 镜像](https://hub.docker.com/r/unsloth/unsloth) `unsloth/unsloth` 可在 Docker 上获取。 [阅读指南。](https://unsloth.ai/docs/get-started/install/docker)
{% endtab %}

{% tab title="Homebrew" %}
**安装 Unsloth：**

```bash
brew install --cask unsloth
```

更新 Unsloth：

```bash
brew upgrade --cask unsloth
```

{% endtab %}

{% tab title="WinGet" %}
**安装 Unsloth：**

```powershell
winget install --id UnslothAI.Unsloth -e
```

更新 Unsloth：

<pre class="language-powershell"><code class="lang-powershell"><strong>winget upgrade --id UnslothAI.Unsloth -e
</strong></code></pre>

{% endtab %}
{% endtabs %}

有关要求和高级选项，请参阅 [Unsloth Studio 安装指南](https://unsloth.ai/docs/new/studio/install).

### Unsloth Core

**Unsloth Core** 是用于基于代码的训练和推理的原始 Python 包。请按照 [uv、pip 和虚拟环境指南](https://unsloth.ai/docs/get-started/install/pip-install).

<table data-view="cards"><thead><tr><th data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">封面图</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/mac.md">MacOS</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/mac.md">MacOS</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/windows-installation.md">Windows</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/windows-installation.md">Windows</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/pip-install.md">uv, pip install &amp; venv</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/pip-install.md">uv, pip install &amp; venv</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/docker.md">Docker</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/docker.md">Docker</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/linux.md">Linux</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/linux.md">Linux</a></td></tr><tr><td><a href="/docs/zh/ji-chu-zhi-shi/amd.md">AMD</a></td><td></td><td><a href="/docs/zh/ji-chu-zhi-shi/amd.md">AMD</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/updating.md">Updating</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/updating.md">Updating</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/intel.md">Intel</a></td><td></td><td></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/conda-install.md">Conda</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/conda-install.md">Conda</a></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/vs-code.md">VS Code</a></td><td></td><td></td></tr><tr><td><a href="/docs/zh/kuai-su-kai-shi/install/google-colab.md">Google Colab</a></td><td></td><td><a href="/docs/zh/kuai-su-kai-shi/install/google-colab.md">Google Colab</a></td></tr></tbody></table>


---

# 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/zh/kuai-su-kai-shi/install.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.
