Setting Up a Modpack
To set up a modpack, you can:
Start form scratch and create a new modpack.
Migrate existing modpack from one platform to another or import modpack as multiplatform modpack.
Creating a New Modpack
To create a new modpack, run the pakku init command:
This will ask you to enter:
The name of the modpack.
The Minecraft versions supported by the modpack.
The mod loaders and their versions supported by the modpack.
The modpack's target. (One of
curseforge,modrinthormultiplatform.)
If your target is
curseforgeormultiplatform, you will also need to set up your CurseForge API key. See Configuring CurseForge Access for more details on this.
It will also set the version of the modpack to 0.0.1 and add the config directory to your overrides.
If you are in a non-interactive environment, consider using the command's options:
-n,--nameInit the name of the modpack
-v,--versionInit the version of the modpack
--mc-v,--mc-versionsInit the minecraft versions
-l,--loadersInit the mod loaders
-t,--targetInit the target of the pack
If you made a mistake during this process, you have these options:
to change the Minecraft version, mod loaders, or target, use the
pakku setcommand,to change the modpack name, author, description, modpack version and other properties modify the config file (
pakku.json) or use thepakku cfgcommand.
Importing an Existing Modpack
To import an existing modpack, run the pakku import command with the <path> argument:
The <path> argument will only accept:
CurseForge's modpack with the
.zipextension or the CurseForge'smanifest.jsonfile.Modrinth's modpack with the
.mrpackextension or the Modrinth'smodrinth.index.jsonfile.
Pakku automatically sets the targeted platform of your modpack based on the file you import.
Migrating Modpack's Platform or Importing as Multiplatform Modpack
You can import a CurseForge modpack as a Modrinth modpack or vice versa by doing the following:
Create a new modpack using the
pakku initcommand.Set the target to the platform you want to import your modpack to.
Import the modpack using the
pakku importcommand.
You can import an existing CurseForge or Modrinth modpack as a multiplatform modpack by doing the following:
Create a new modpack using the
pakku initcommand.Set the target to the
multiplatformtarget.Import the modpack using the
pakku importcommand.
Configuring CurseForge Access
Pakku requires users to provide their own CurseForge API key when accessing CurseForge.
According to CurseForge for Studios REST API documentation, the API key can be generated in the CurseForge for Studios developer console.
Follow these steps to configure the access:
Login to the developer console.
Go to the "API keys" tab:

Copy your API key.
Enter your API key to the prompt provided by Pakku, or use the
pakku credentials setcommand:pakku credentials set --cf-api-key '<key>'java -jar pakku.jar credentials set --cf-api-key '<key>'