> For the complete documentation index, see [llms.txt](https://rex-studio.gitbook.io/rex-studio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rex-studio.gitbook.io/rex-studio-docs/cfx-and-other/update-artefact.md).

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