Each operating system has its own page for compiling FreeCAD in the Online Help Documentation.
|Compile on Docker container|
|Compile on Windows||Compile on Linux||Compile on MacOS||Compile on Docker container|
To compile on BSD, and other Unix systems, you can follow the general instruction in Compile on Linux but using the appropriate dependencies in those systems.
It is also possible to compile FreeCAD on Windows by following the instructions in Compile on Windows.
To compile FreeCAD only CLI mode (without GUI), here is the docker image FreeCAD Docker CLI mode.
To compile the programming documentation, see Source documentation.
To learn to use revision control system and contribute code see Source code management.