# Updating Unsloth

### **Update Unsloth Studio**

You can use the same install commands to update

#### **MacOS, Linux, WSL:**

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

#### **Windows PowerShell:**

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

#### Alternatively, you can also use our update command:

{% code overflow="wrap" %}

```bash
unsloth studio update 
```

{% endcode %}

### Updating Unsloth Core:

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

#### Updating Unsloth Core without dependency updates:

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

#### To use an old version of Unsloth:

{% code overflow="wrap" %}

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

{% endcode %}

'2025.1.5' is one of the previous old versions of Unsloth. Change it to a specific release listed on our [Github here](https://github.com/unslothai/unsloth/releases).


---

# Agent Instructions: 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:

```
GET https://unsloth.ai/docs/get-started/install/updating.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
