Use make on macos Darwin or linux instead of arduino IDE.