Creating NuGet package during CI pipeline


I am currently evaluating the use of UiPath for automated GUI-Tests.
To create reuseable components we would like to group workflows into packages.
Now i want to create a package on our build server everytime changes are pushed to the repository.
Is there any way to achieve this (preferably via a CLI) without installing Studio/Robot on every build agent?

Thanks in advance.