> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/server-optimizer-fivem-and-redm/getting-started/installation.md).

# Installation

1. Download **rm\_optimizer** from your Cfx.re portal under **Granted Assets** and put the folder in your `resources`.
2. Add it to `server.cfg`:

```
ensure rm_optimizer

# who may open the scan report in game with /optimizer
add_ace group.admin command.optimizer allow
```

3. Restart the server. The console prints:

```
[rm_optimizer] ready. Run optimizer scan in this console.
[rm_optimizer] report: /rm_optimizer/?key=... on the address and port players connect to
```

That is all. Players open the FPS menu with **F10** (FiveM, they can rebind it) or `/fps`.

{% hint style="info" %}
The report key changes on every restart. To keep one key, add `set rm_optimizer_key "your-own-long-random-text"` to `server.cfg`.
{% endhint %}

## Requirements

* FiveM or RedM server, any recent artifact. OneSync is not required.
* No framework, no database, no other resource.
