# Update artefact

## 🔄 Update Your FiveM Artifact

Keeping your FiveM server up to date ensures better performance, security fixes, and compatibility with the latest scripts.

Follow the instructions below to update your server artifact on **Windows** or **Linux**.

***

### 🪟 Windows

> ✅ You should have two main folders:
>
> * `FXServer` → contains your **server binaries**
> * `server-data` → contains your **resources**, `server.cfg`, etc.

#### 🔧 Option 1: Full Clean Update (Recommended)

1. **Stop your server**
2. Go to your `FXServer` folder
3. **Delete all existing files** in the folder (⚠️ do not touch `server-data`)
4. Download the latest artifact from:\
   👉 <https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/>
5. Extract the archive into your `FXServer` folder
6. Start your server as usual

***

#### 🧩 Option 2: Quick Replace (Simpler)

1. **Stop your server**
2. Download the latest artifact (same link as above)
3. Extract the zip and **drag & drop all files** into your `FXServer` folder
4. When prompted, confirm **file replacement**
5. Start your server

> ⚠️ Make sure you don’t drop the files into a subfolder by mistake — they should directly replace the existing ones.

***

### 🐧 Linux

1. **Stop your server**
2. Delete the `cache` and `alpine` folders
3. Download the latest artifact:\
   👉 <https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/>
4. Extract with:

   ```bash
   bashCopierModifiertar -xf fx.tar.xz
   ```
5. Start your server
6. Run `version` in console to verify the update

***

### ✅ After Update

* Run your server and check that everything loads properly
* In your server console, type:

  ```txt
  txtCopierModifierversion
  ```

  to confirm the artifact version

***

### 🆘 Need Help?

Having issues or unsure which artifact to use? Open a support ticket on our Discord:

> 💬 [https://discord.gg/kMdMhDKwrA&#x20;> ](<https://discord.gg/kMdMhDKwrA &#xD;&#xA;>)

***

> 💡 Pro Tip: Always test updates on a **local or dev server** before applying them to your live environment.


---

# 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://rex-studio.gitbook.io/rex-studio-docs/cfx-and-other/update-artefact.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.
