Mac Ram Size CLI

system_profiler SPHardwareDataType | grep "  Memory:"
KostasX