1: Download the official website address: https: //docs.gradle.org/current/userguide/installation.html
They think the download version (archive)
2: Extract to the target directory
3: Configure gradle (my system is win10)
Right-click on My Computer, click Properties, click Advanced Settings, click Environment Variables, click New system variables
4: Save the settings after the exit path editing system variables
5: View gradle version in cmd mode
6: Configuring gradle local repository path