Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Profile

NorthWestWind edited this page Jun 10, 2022 · 2 revisions

This program can also be used by modpack developers.

Creating Profiles

To create a new modpack profile, run the following command:

./curseforge profile create

The program will then ask you several questions, including the name, mod loader, mod version and Minecraft version. Answer each of them to create the profile.
A slug will be returned after the creation. It will be the name used in other profile commands.

Deleting Profiles

Although you can just straight up delete the folder, you may also delete with command:

./curseforge profile delete <name>

The name is the name of the profile folder. Because you have to check the profile folder name, you might just delete it manually as well.

Adding Mods

To add mods to your profile, use this command:

./curseforge profile add <name> <ID[_FileID]>

The name is the name of the profile folder.
The ID parameter can be multiple IDs. These should be mod IDs copied from CurseForge.
If the ID argument given is in the format of ID_FileID, where FileID is the ID of a specific mod file, that specific mod file will be added.

The following example adds the latest version of Sodium and Iris Shaders v1.2.5 to a profile named general-fabric-1-18:

./curseforge profile add general-fabric-1-18 394468 455508_3820231 

Removing Mods

To remove mods from your profile, you can either use this command or just delete the file:

./curseforge profile remove <name> <ID>

The parameters are same as profile add, except FileIDs are not accepted.

Updating Mods

Mods have frequent updates. Use this command:

./curseforge profile update <name> [all | ID[_fileID]]

The name is the name of the profile folder.
The ID optional parameter can be multiple IDs. If it is omitted, the program will check update of every mod, else, the mods will be updated.
If you input all instead of ID here, you can update all mods. If the ID argument given is in the format of ID_FileID, where FileID is the ID of a specific mod file, that specific mod file will be added.

For example, you want to update JEI in a profile called imaginations:

./curseforge profile update imaginations 238222

Or you want to force it to JEI v9.5.5.174:

./curseforge profile update imaginations 238222_3723913

Importing Modpacks

To facilitate migration from original CurseForge app to CurseForge CLI, the import command is made:

./curseforge profile import <path>

The path parameter is the local path to the modpack's ZIP file.

Clone this wiki locally