Getting started
Creating a new modpack
To create a new modpack, just run packwiz init
- this is all you need to start using packwiz! It'll ask you for a few details, then create a pack.toml
and index.toml
based on your answers.
pack.toml
is the main file of your modpack and defines several crucial details; including the name of your modpack, the version of Minecraft and the version of the mod loader you're using. Optionally, you can include a version (required for exporting to Modrinth packs) and a description for your modpack.
index.toml
is the index of your modpack which lists the files in your modpack with their hashes (for integrity checking). You're unlikely to need to touch this yourself, but you'll need to run the packwiz refresh
command when you manually add, remove or edit files in the pack.
Importing an existing modpack
Have an existing CurseForge modpack? You can use the packwiz curseforge import
command with the path to the modpack .zip
file, which will import all the mods and files from the pack into your current directory. If this isn't your own modpack, please make sure you have permission (or a license) to redistribute the modpack you import!
Warning
If you have existing files in your modpack, importing will overwrite them. It's a good idea to use version control systems (such as Git) with packwiz!
Cheat Sheet
You'll get more information in the tutorials following this one (and the reference pages), but this is a quick summary of the most useful commands:
packwiz init
creates a modpack in the current folderpackwiz curseforge import [zip path]
imports a CurseForge modpackpackwiz refresh
updates the modpack indexpackwiz curseforge install [mod]
installs a mod from CurseForgepackwiz modrinth install [mod]
installs a mod from Modrinthpackwiz update [mod]
updates a modpackwiz update --all
updates all the mods in the modpackpackwiz curseforge export
exports the modpack in the format supported by the CurseForge Launcherpackwiz modrinth export
exports the modpack in the format supported by Modrinth (and their in-progress launcher)packwiz curseforge detect
to detect files that are available on CurseForge and make them downloaded from there- Use the
--help
flag for more information about any command!