Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): add node version, yarn via npm, msvc component #3199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ To build FiveM, RedM or FXServer on Windows you need the following dependencies:
- Workloads
- .NET desktop development
- Desktop development with C++
- Windows application development
- WinUI application development
- Individual components
- .NET Framework 4.6 targeting pack
- MSVC v143 C++ x64 build tools
- Windows 11 SDK (10.0.22000.0)

You can install these workloads by going to "Tools" -> "Get Tools and Features..." -> Check the checkboxes -> Click "Modify" in the bottom right corner.

* [PowerShell 7](https://aka.ms/powershell-release?tag=stable) or higher.
* [Python 3.8 or higher](https://python.org/) with the `py` launcher installed.
* [MSYS2](https://www.msys2.org/) at `C:\msys64\` which is where the installer places it.
* [Node.js](https://nodejs.org/en/download/) and [Yarn](https://classic.yarnpkg.com/en/docs/install/) in your PATH as `node` and `yarn`.
* [Node.js up-to 20](https://nodejs.org/en/download/) in your path
* [Yarn](https://classic.yarnpkg.com/en/docs/install/) installed via npm globally

Then, execute the following commands in a `cmd.exe` shell to set up the build environment:

Expand Down