The OS where you compile is not an issue - .beam
files are portable. What is more problematic is the OTP version and Elixir version - you’d need to compile on the lowest version you support, but that means you sometimes can’t take advantage of improved APIs or improved compiler.
3 Likes