Allow Forge Installer to install Minecraft 1.13+ with Forge via command-line.
- Download Forge installer for Minecraft 1.13+ here.
- Download ForgeCLI jar file at the release page.
- Run the below command in terminal:
3 arguments are required.
java -jar <ForgeCLI.jar> --installer <forge-installer.jar> --target <install-location>
--installer
: Forge Installer jar file
ex) forge-1.16.5-36.2.2-installer.jar--target
: Minecraft Install Location
ex) %appdata%.minecraft