Skip to content

Commit c6b5084

Browse files
authored
Add a short section on Conda
1 parent 0dd5385 commit c6b5084

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

gettingstarted/index.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ To work on FreeCAD you will need CMake, git, a code editor, a C++ compiler, and
1717
- On MacOS you will need to install the XCode command line tools, and can use XCode, Visual Studio Code, or CLion as your editor.
1818

1919
Other combinations may work as well, these are just the ones that you will be able to get help with most readily on the [FreeCAD Forum](https://forum.freecad.org).
20-
2120
## Dependencies
2221

2322
See also [Dependencies](./dependencies.md)
@@ -28,6 +27,19 @@ FreeCAD depends on many other open source projects to provide the basic foundati
2827
- Windows: [https://wiki.freecad.org/Compile_on_Windows](https://wiki.freecad.org/Compile_on_Windows)
2928
- Mac: [https://wiki.freecad.org/Compile_on_MacOS](https://wiki.freecad.org/Compile_on_MacOS)
3029

30+
### Conda
31+
32+
One of the easiest ways of creating a standalone FreeCAD build environment with its dependencies in a way that does not affect the rest of your system is to use
33+
Conda. Install Miniconda on your system, then use one of the setup scripts included with the FreeCAD source code to create the appropriate
34+
environment, e.g. `conda/setup-environment.sh`. Once complete, activate the environment with `conda activate freecad`. This creates an environment
35+
that you can run your build system in. For example, on MacOS from the top of a FreeCAD source code clone:
36+
37+
- `conda/setup-environment.sh`
38+
- `conda activate freecad`
39+
- `cmake -B build/debug --preset conda-macos-debug .`
40+
- `cmake --build . --parallel`
41+
42+
3143
## Setting up for Development
3244

3345
1. Fork [https://github.com/FreeCAD/FreeCAD](https://github.com/FreeCAD/FreeCAD) on GitHub

0 commit comments

Comments
 (0)