Each operating system has its own page for compiling FreeCAD in the Online Help Documentation.
|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.
To compile FreeCAD without its graphic user interface use the FreeCAD Docker CLI mode image.
To compile the programming documentation, see Source documentation.
To learn to use revision control system and contribute code see Source code management.