If you’re on windows, you have to use gradlew.bat when you’re in a command prompt (cmd) unless you have something like Git Bash. If you don’t have ‘.’ on your PATH, you’ll have to use ./gradlew
When you run ‘gradle wrapper’ it should generate the gradlew, gradlew.bat, gradle directory files.
The idea is that someone initially has Gradle installed, they generate the wrapper files and check them in. Then everyone else can use gradlew to download/use the correct version of Gradle.