Issues with the Forge modloader can be identified in two ways:

  1. The error message "Forge Modloader installation failed"
  2. The error message "An error occurred while executing Forge install command. Exit code: 1"
  3. The 'Install' buttons for modpacks turn grey after clicking them, and the modpacks don't get installed


First, please try relaunching the app and repairing the Minecraft installation:



If that doesn't fix it, try the following solutions in this article.


Take me to...


Reinstall the App

Try to reinstall the app.
This will not affect any mods/content that you already have installed, they will remain as they were.


Firewall/Antivirus

Make sure that Overwolf/CurseForge are not getting blocked by your firewall.

If you have any antivirus programs running, please temporarily disable or close them and check if the issue is resolved.


Other programs, like Killer Network, can also affect the modloader's installation process, so please try to temporarily close or disable them.


Proxy

If you have a proxy connection set up on your system, please try to temporarily disable it to check if it has any effect on the issue. You will need to make sure both "Use setup script" and "Use a proxy server" are disabled.

  • Windows 10


  • Windows 11


Hosts File

Follow Microsoft's guide, How to reset the Hosts file back to the default.


VPN

Try to temporarily disable any VPN programs you have running, as they may interrupt the connection required for CurseForge to install the necessary Java or Forge files.


Private Relay (macOS)

If you're using CurseForge on macOS, try to temporarily disable the Private Relay option located under iCloud.


Network

If you have the option, try to connect to a different network (even a mobile hotspot).


Update/Reinstall Java

You can find the latest Java version here: https://www.java.com/en/download/

Change the Java Executable

  • Windows:
    1. Locate your Java installation path:





    2. Open the app's Minecraft settings, and scroll all the way down
    3. Under 'Java version used for installing Forge modloader' click 'Select':



    4. Open the installation path, as identified in step 1, select the Java.exe file and click 'Open':



    5. If set successfully, you should see the 'CurseForge Default' text has changed:



  • macOS:
    1. Locate your Java installation path: 






      If your Java is located in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin you will need to take out the inner folder first:
      1. Open the /Library/Internet Plug-Ins/ folder
      2. Right-click on 'JavaAppletPlugin.plugin' and select 'Show Package Contents':



      3. Copy or move the 'Contents' folder outside of 'JavaAppletPlugin.plugin' (you can place it under the 'Internet Plug-Ins' folder, for example):




      4. Continue with the rest of the steps (select the Java file that is located in /Library/Internet Plug-Ins/Contents/Home/bin/)

    2. Open the app's Minecraft settings, and scroll all the way down
    3. Under 'Java version used for installing Forge modloader' click 'Select':

    4. Open the installation path, as identified in step 1, select the 'Java' file and click 'Open':



    5. If set successfully, you should see the 'CurseForge Default' text has changed:


Install Forge Manually

As a last resort, try to install the required Forge version manually:

  1. Identify the version of Forge that is required for the modpack/custom profile that you're installing (according to the game version). For example: forge-40.2.0 (for game version 1.18.2):



  2. Download the version from the Forge website: https://files.minecraftforge.net/net/minecraftforge/forge/
    If you don't know what Forge version to download, select the game version and then download the recommended version:



  3. Run the installer, select 'Install client' and make sure to set the 'Install' folder that is in your modding directory:




  4. If the installation is successful, please reach out to us so we can try to find a more permanent solution.
    It the installation is not successful, please reach out to the Forge development team for further help: https://forums.minecraftforge.net/

These solutions didn't help?

Please contact us (don't forget to add your logs!) and we'll get right on it!