Go to the Arduino website and download the appropriate version of the Arduino IDE for your operating system. The Arduino IDE is available for Windows, Mac OS X, and Linux.
Follow the instructions to install on your platform.
Note: If you’re installing on macOS, simply drag the Arduino IDE to your Applications folder.