How to Install a FiveM Server
Introduction
Setting up a FiveM server is the first step toward creating your own custom GTA V multiplayer experience. Whether you want to host a roleplay, racing, or freeroam server, the installation process is straightforward when you follow the correct steps.
This guide explains how to install a FiveM server from scratch.
Requirements
Before you begin, make sure you have the following:
-
A Windows or Linux VPS/Dedicated Server
-
The latest FXServer artifacts
-
A valid FiveM license key
-
Basic knowledge of file management
-
Administrator access to the server
Step 1 – Download the Server Files
Download the latest recommended FXServer artifacts from the official FiveM artifacts page.
Extract the downloaded archive into a new folder, for example:
C:\FiveMServer\
or on Linux:
/home/fivem/server/
Step 2 – Create the Server Folder
Inside your server directory, create the following folders if they do not already exist:
cache
resources
txData
logs
These folders will be used by FiveM and TXAdmin.
Step 3 – Start FXServer
Run the FXServer executable.
Windows:
FXServer.exe
Linux:
./run.sh
The first startup will initialize TXAdmin.
Step 4 – Open TXAdmin
After the server starts, the console will display a TXAdmin URL similar to:
http://YOUR-IP:40120
Open this address in your web browser.
Step 5 – Create an Administrator Account
The first time you open TXAdmin, you will be asked to:
-
Create an administrator account
-
Set a secure password
-
Complete the initial setup wizard
After completing these steps, continue to the deployment page.
Step 6 – Choose a Deployment Method
TXAdmin offers several deployment options.
Recommended:
-
Popular Recipe
-
Existing Server Data
-
Empty Server
Choose the option that best matches your project.
Step 7 – Enter Your License Key
Log in to the FiveM Keymaster website.
Create a new server key.
Copy the license key and paste it into TXAdmin when prompted.
Step 8 – Configure Your Server
During deployment, configure the following:
-
Server Name
-
Maximum Players
-
Locale
-
Recipe (optional)
-
Database (if required)
Review all settings before continuing.
Step 9 – Start the Server
Click Start Server inside TXAdmin.
Wait until all resources have loaded successfully.
You should see messages indicating that the server has started without errors.
Step 10 – Join the Server
Launch FiveM.
Press F8 and connect using:
connect YOUR_SERVER_IP
Alternatively, search for your server in the FiveM server list if it is publicly listed.
Troubleshooting
Server does not start
-
Verify that all server files were extracted correctly.
-
Ensure no required files are missing.
-
Check the server console for error messages.
Cannot access TXAdmin
-
Verify that the TXAdmin port is open.
-
Check your firewall settings.
-
Ensure the server is running.
License key is invalid
-
Generate a new key through the FiveM Keymaster.
-
Confirm that the key matches your server IP.
Tips
-
Keep your FXServer artifacts up to date.
-
Restart the server after making configuration changes.
-
Install only trusted resources.
-
Create regular backups of your server files.
-
Monitor the console for warnings and errors.
Conclusion
Installing a FiveM server only takes a few minutes when the required files are prepared correctly. Once the server is running, you can continue by installing frameworks such as ESX or QBCore, adding resources, configuring permissions, and customizing your server to fit your community.