Install and launch a local server with FiveM
Updated on 04/09/2026 by Elise Voët
In this tutorial, we will see how to install and launch a local server with the software FiveM. FiveM is a modification of Grand Theft Auto V that allows us to create a custom server, add mods, and join this server in the game.
Prerequisites
- Install GTA V in the official version. You will therefore need an official key.
- Install CodeWalker.
Client Installation
- Go to FiveM.net and click on
Download Client. - Open the Downloads folder and launch
FiveM.exe. - When the program asks, browse your GTA V installation directory and select
GTA5.exe. - Click on Open to validate the path.
Update Game Data
- A message appears indicating that the local game data needs to be updated.
- Click on
Yes. - FiveM prepares the launch of the data. This step can take several minutes.
- When the loading reaches the step Connecting to Rockstar Games Services, the Rockstar Games Launcher will open in another window. Log in to your official account. You will need an official key.
Connect with Cfx.re
- Read the Terms of Service.
- If you accept them, click on
I Acceptto continue. - A new window opens, asking you to log in with Cfx.re – do not skip this step!
- Click on
Sign in with Cfx.re. - Your browser opens. If you don't have one, create a Cfx account.
- Click on
Authorizeto grant access. - Go back to FiveM: a message Welcome [Username] appears.
- Click on
Continue.
Local Server Installation
In order to be able to modify the game as we wish, we will create our own local server. There are several methods: we will use the tool txAdmin.
Download the Server (Windows)
- Go to the Windows server build page (list of artifacts).
- Download the latest recommended version (the latest stable build).

- Extract the contents to where you want to keep them, for example:
C:\FXServer\server. - Open the extracted directory. Its structure should look like this:

Start the Server
- In the extracted
serverfolder, double-click onFXServer.exe. - Your browser automatically opens to the txAdmin page.
- Log in to your Cfx.re account in the tab that opens, then click on
Yes, Allow. - Create a password that will be used to identify you on the server administration page, then click on
Next.
- Enter a name for your server (e.g.: "MyServer") and click on
Nextagain. - Select
Popular Recipes. - Choose the
CFX Default FiveMtemplate (it's the simplest one).Note: other templates exist, but some require a database server.
- Click on
Save(or choose another save path) to save the recipe configuration. - In the txAdmin interface, click on
Recipe Deployer. - Check that the recipe appears correctly, then click on
Next. - Go back to the Windows server build page on the Cfx.re portal in the
Dashboardtab.
- Click on
Create a key, fill in a "Display Name" and click on theGeneratebutton. - Copy the key and paste it into the field provided for this purpose on the http://localhost/ window that should have opened automatically earlier in your browser.
If it wasn't the case, go back to the txAdmin window and click on the http://localhost/ address.

- In the http://localhost/ window, click on
Run Recipe. - If everything is correct, click again on
Next.
- Finally, click on
Save & Run Server. The server starts and you should see the welcome message in the console.
We now have a functional FiveM server, managed via txAdmin.
You can:
- Modify the resources in the
resources/folder. - Configure server settings in the
server.cfgfile. - Invite your friends by giving them your IP and the port (default:
30120).
Game Launch
Now that FiveM and the server are installed, you can join them:
- Launch
FXServer.exe.
- Launch FiveM If everything goes well, your server should appear in the interface.

- Click on it. The game launches and you find yourself in GTA V, connected to the server you just configured.

Some Commands That Will Be Useful In-Game
F8– to launch the command chat and the same key to close the script overlay -->escto close the command chat modal --> useTaband the arrow keys to navigate through the tabs and settings of the command chat.tx- to launch the tx admin modal/restart <resource>– Restarts the specified resource/ensure <resource>– Loads the resource if it is not already active/stop <resource>– Stops the resource/refresh– Reloads the list of available resources
💡 Tip: All these commands must be executed from the txAdmin console or from the game chat (if you have administration rights).
Translated by AI from the French version.













