Halloween Edition36 maps, limited runlimited runShop the drop
Chapter 03 of 17The Server Handbook for FiveM

Installing FXServer and txAdmin

In short

The official quick route is txAdmin: download the artifacts, run them, and txAdmin sets up the rest in your browser. The vanilla route — cfx-server-data plus your own server.cfg — still works and shows what txAdmin does for you.

  1. Create C:\FXServer\server and download the recommended Windows build (server.7z) from the Server Download page.
  2. Extract it into that folder with 7-Zip or WinRAR.
  3. Double-click FXServer.exe. txAdmin opens in your browser — check that the PIN is filled in and click Link Account.
  4. Log in with your Cfx.re account, allow access, and create the admin panel password.
  5. Name the server, choose Popular Recipes and pick one. CFX Default needs no database; framework recipes (ESX, QBCore, Qbox) do.
  6. Run the recipe deployer, enter your server key from portal.cfx.re, then click Save & Run Server.
Optional on Windows: stop Microsoft Defender from slowing startup (run as administrator)
Add-MpPreference -ExclusionPath 'C:\FXServer\'

Linux. Cfx.re calls the Linux build a courtesy port — Windows receives fixes first — but many large servers run on Linux without trouble. You need xz-utils to unpack the build.

Linux (Debian/Ubuntu) — txAdmin route
sudo apt install -y xz-utils curl git
mkdir -p ~/FXServer/server && cd ~/FXServer/server
wget "<recommended fx.tar.xz URL from the Server Download page>"
tar xf fx.tar.xz
./run.sh    # starts txAdmin on port 40120
Vanilla route (no txAdmin recipe)
git clone https://github.com/citizenfx/cfx-server-data.git ~/FXServer/server-data
cd ~/FXServer/server-data
# create server.cfg (see the next chapter), then:
bash ~/FXServer/server/run.sh +exec server.cfg
Checklist
  • Server key created on portal.cfx.re
  • Recommended artifacts extracted
  • txAdmin master account linked to your Cfx.re account
  • Recipe deployed or server data folder selected
  • Server starts without red errors in the console

The Server Handbook for FiveM

This chapter is one of 17. The handbook also carries the console command and convar cheat sheets, a glossary and the official references every chapter is checked against.

Open the handbook