Download the latest version of Arduino IDE for macOS. Open the installer image and move Arduino IDE.app to the Applications folder. Launch the app and allow it through macOS Gatekeeper if required.