Run headless FreeCAD without installation for basic operation

Hello Team,

We can open FreeCAD without GUI i.e. Headless FreeCAD. Here my questioin is , using FreeCAD we just want to export NX exported STEP file back to OCCT/FreeCAD STEP just by perfrorming open & export operation using macro/script at the back-end using Headless FreeCAD so here i wanted to know do we need to install complete FreeCAD package at users machine won't it be possible just by using required FreeCAD library like OCCT. Actualy i wanted to avoid installation at customer/user end only required libraries.

Thanks in advance.