Download the latest version of ANTLR and extract it to a folder.
You can use also Maven, Gradle, or other build tool to depend on its runtime (the classes the generated grammars use): org.antlr:antlr4-runtime
.
In order to automatically -as part of the build process- generate the parser in a maven project, use the Maven plugin: org.antlr:antlr4
.