mc add

mc add [OPTIONS] <MOD_SLUG>...

Adds mods to the [mods] table of the manifest. Each MOD_SLUG is the mod's identifier on the mod registry. The latest version compatible with the configured Minecraft version and loader is looked up and pinned; the command fails if a mod cannot be found for that combination.

A mod loader must be configured under [minecraft] before mods can be added.

Changes take effect the next time the instance starts, which also installs any required dependencies — see Managing Mods.

Options

  • --manifest-path <PATH> — path to mc.toml. Defaults to ./mc.toml.

Examples

$ mc add lithium
$ mc add carpet servux