Use robot code & Run tests from another machine

hello,

I’m new to robot framework and I trying to figure if it possible to develope test suites that runs on 1 machine and use the same code on a other machine ( 1 machine is Mac the other one is windows).

I know that the code can we uploaded to GitHub and pulled from there BUT it is necessary to install the libraries on the second machine ( not where the code was developed)?
Should I install all the libraries (using pip) on the new machine?

Is there a better approch to handle this kind of issue? Without installing the libraries manually?

Basically, I would like to run the test from different machines using the code.

Thanks