Repository navigation
Importing and Exporting
Packwiz can convert a local CurseForge pack or a Modrinth .mrpack file into packwiz metadata:
packwiz curseforge import /path/to/pack.zip
packwiz modrinth import /path/to/pack.mrpackCurseForge also accepts an instance's manifest.json or minecraftinstance.json file. Imports are applied to the current packwiz directory: they create or modify metadata, versions, and indexes, and may copy configuration files included in the pack. Import into a new folder or make a backup first if you do not want existing files to be replaced.
From the pack folder, run the appropriate command:
packwiz modrinth export
packwiz curseforge exportThis creates a Modrinth .mrpack or a CurseForge .zip. Choose the output location with -o <file-or-directory>. CurseForge export includes client files by default; use --side server for a server pack.
Before exporting, packwiz checks the metadata and updates the index. In strict mode, each managed mod must have a valid file reference on the destination platform. If a reference is missing, packwiz stops the export and tells you what needs to be resolved.
If a pack has references on only one platform, try to find and add the missing references for all mods:
packwiz link --allYou can also specify the file on the other platform for a particular mod:
packwiz link sodium --curseforge https://www.curseforge.com/minecraft/mc-mods/sodium/files/ID
packwiz link sodium --modrinth https://modrinth.com/mod/sodium/version/IDLinking verifies that the file has exactly the same contents on both platforms. A matching name or version number is not enough. Searches may require access to the CurseForge API; if a lookup fails, check the error message and the configuration of the packwiz build you are using.
You can explicitly allow files without a platform reference to be packaged as overrides:
packwiz curseforge export --allow-overrides
packwiz modrinth export --allow-overridesThe destination platform may reject those files. Use this option only if you understand that limitation; local configuration and resource overrides are not the same as allowing mods without a platform reference.