Visit the Gradle Download page and download the "Binary-only" (bin) or "Complete" (all) ZIP file.
Select your ; if you don't have one, IntelliJ can also download the JDK for you.
Extract the ZIP to a directory like C:\Gradle (Windows) or /opt/gradle (Linux/macOS).