Script PowerShell permettant de nettoyer facilement les dossiers de cache de FiveM.
Aucune installation requise, aucune connexion réseau, aucune modification du registre Windows.
Le script supprime uniquement les dossiers sélectionnés par l'utilisateur.
| Dossier | Description |
|---|---|
crashes |
Rapports de crash |
logs |
Fichiers journaux |
data/cache |
Cache principal |
data/server-cache |
Cache serveur |
data/server-cache-priv |
Cache serveur privé |
data/nui-storage |
Stockage NUI |
⚠️ Le dossierdata/game-storagen'est jamais supprimé.
- Détection automatique du dossier d'installation FiveM
- Prise en charge des installations personnalisées (dossier modifiable)
- Affichage de la taille de chaque dossier avant suppression
- Détection et fermeture automatique de FiveM si ouvert
- Interface en français par défaut — anglais disponible via [L] sur PC non-français
- Mémorisation du chemin d'installation entre les sessions
- Télécharge
FiveM-Cache-Cleaner.ps1depuis la page Releases - Fais un clic droit sur le fichier → Exécuter avec PowerShell
- Sélectionne les dossiers à nettoyer et appuie sur
[N]
💡 Si Windows bloque l'exécution, fais clic droit → Propriétés → coche "Débloquer" en bas de la fenêtre.
- Windows 10 / 11
- PowerShell 5.1 (inclus par défaut sur Windows 10/11)
A PowerShell script to easily clean FiveM cache folders.
No installation required, no network connection, no Windows registry modification.
The script only deletes folders selected by the user.
| Folder | Description |
|---|---|
crashes |
Crash reports |
logs |
Log files |
data/cache |
Main cache |
data/server-cache |
Server cache |
data/server-cache-priv |
Private server cache |
data/nui-storage |
NUI storage |
⚠️ Thedata/game-storagefolder is never deleted.
- Automatic detection of the FiveM installation folder
- Support for custom installations (editable folder path)
- Display of each folder size before deletion
- Automatic detection and closing of FiveM if running
- Interface in English by default — French available via [L]
- Installation path saved between sessions
- Download
FiveM-Cache-Cleaner.ps1from the Releases page - Right-click the file → Run with PowerShell
- Select the folders to clean and press
[N]
💡 If Windows blocks execution, right-click → Properties → check "Unblock" at the bottom of the window.
- Windows 10 / 11
- PowerShell 5.1 (included by default on Windows 10/11)
Contributions are welcome — feel free to open an issue or submit a pull request.
If you want to improve a translation or add a feature, go ahead!
MIT — see LICENSE for details.

