> 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/kai-shi-shi-yong/install/updating.md).

# 更新 Unsloth

### 更新 Unsloth Desktop

Unsloth Desktop 在启动后会自动检查更新。要手动检查，请打开 **设置** → **常规** 并选择 **检查更新**.

* **macOS 和 Windows：** 选择 **立即更新**。Unsloth 会安装更新并重新启动应用。
* **Linux AppImage：** AppImage 构建版支持应用内更新。
* **Linux `.deb`:** 从以下位置下载最新的软件包 [Linux 下载页面](https://unsloth.ai/download/linux) 并在现有版本上安装。Debian 软件包需手动更新。

Unsloth Desktop 的更新与手动安装的 Unsloth Studio 和 Unsloth Core 相互独立。

### 更新 Unsloth Studio

你可以使用相同的安装命令来更新

#### **MacOS、Linux、WSL：**

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

#### **Windows PowerShell：**

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

### 更新 Unsloth Core：

```bash
pip install --upgrade unsloth unsloth_zoo
```

#### 在不更新依赖项的情况下更新 Unsloth Core：

<pre class="language-bash" data-overflow="wrap"><code class="lang-bash">pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth
<strong>pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth_zoo
</strong></code></pre>

#### 要使用旧版本的 Unsloth：

{% code overflow="wrap" %}

```bash
pip install --force-reinstall --no-cache-dir --no-deps unsloth==2025.1.5
```

{% endcode %}

'2025.1.5' 是 Unsloth 之前的一个旧版本。请将其更改为我们列出的某个具体发布版本，见 [GitHub 这里](https://github.com/unslothai/unsloth/releases).


---

# 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/zh/kai-shi-shi-yong/install/updating.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.
