Download the official Kodi installer for your platform
Kodi publishes ready-to-run installers on its official website. You do not need to compile anything. Go to the downloads page and pick your operating system. This guide uses Windows as the example, but the steps are nearly identical on macOS and Linux.
Browser warns the file is unsafe or blocks the download
This is a false positive. Kodi is signed software. On Windows click 'Keep anyway'; on macOS go to System Settings → Privacy & Security and click 'Open Anyway'.
