packwiz

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

packwiz

This repository is a fork of the original packwiz/packwiz project.

packwiz is a command-line tool for creating and maintaining Minecraft modpacks. It stores pack information as TOML metadata, so you can track changes with Git and share a reproducible pack without committing every downloaded mod file.

Use packwiz to build a modpack, keep its mods up to date, and export it for CurseForge or Modrinth. It is not a game launcher; players can install and update a pack with packwiz-installer.

Install

Download a prebuilt binary from GitHub Releases, or use a package manager:

macOS or Linux (Homebrew):

brew install --cask andre-carbajal/tap/packwiz

Windows (Scoop):

scoop bucket add andre-carbajal https://github.com/andre-carbajal/scoop-bucket
scoop install packwiz

Linux or macOS (Nix flakes):

nix profile install github:andre-carbajal/packwiz#packwiz

Get started

Create a folder for your pack, initialize it, and add a mod:

mkdir my-modpack
cd my-modpack
packwiz init
packwiz modrinth add sodium

Then review the pack, update its mods, or export it:

packwiz list
packwiz update --all
packwiz modrinth export

Run packwiz commands from the folder containing pack.toml.

What packwiz manages

  • pack.toml stores the pack name, version, Minecraft version, and mod loader.
  • index.toml tracks the pack's files.
  • *.pw.toml files store metadata for externally managed files, including their source and update settings.
  • Local files such as configuration and resource files can also be included in the pack.

These small metadata files are what you normally commit to Git; downloaded CurseForge or Modrinth JARs do not need to be committed.

Add mods from Modrinth or CurseForge using a project URL, slug, ID, or search:

packwiz modrinth add sodium
packwiz curseforge add sodium

When the same file is available on both platforms, packwiz link can record both references. A link is accepted only when the file contents are identical; matching names or version numbers are not enough.

packwiz link sodium
packwiz link --all

Documentation

The repository Wiki has user guides for getting started, importing and exporting packs, and the complete command reference. For options available in your installed version, run packwiz --help or packwiz <command> --help.

For player installation and automatic updates, see the official packwiz-installer guide.

Building from source

Building packwiz requires Go 1.26.8 or newer. Local builds need CURSEFORGE_API_KEY for CurseForge API requests, including some cross-platform link lookups. Official release and snapshot binaries embed a key configured at build time; a key in a distributed binary can be extracted and must be treated as public, not as a secret.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL