From the reference libraryFiveM

Node.js

ox/guides/nodejs.mdx

Node.js

Node.js is a JavaScript runtime that allows developers to create servers, web apps, command line interfaces, and scripts.

It is used by FXServer to run JavaScript resources, and is typically required to compile TypeScript and bundle resources so they can run on the client, server, or in the browser.

  • Download and install the LTS version of Node.js.
  • Open a command-line terminal (e.g. Terminal, Command Prompt).
  • Enter node --version to confirm successful installation.
Back to documentation