Settings#

Settings live in config.toml. Change them with modsmith config:

$ modsmith config
$ modsmith config set default_platform curseforge
$ modsmith config unset default_platform
$ modsmith config path

Setting

What it does

Variable

instances_dir

Where new instances are created

MODSMITH_INSTANCES_DIR

game_dir

The official launcher’s game directory

MODSMITH_GAME_DIR

curseforge_api_key

Your CurseForge API key

CURSEFORGE_API_KEY

default_platform

Where to look when a project names no platform

allow_prereleases

Whether alpha and beta releases may be chosen

An environment variable overrides the file, and a command line option such as --instances-dir overrides both, for that run only.

Other variables#

MODSMITH_HOME

Keeps settings, instances and downloads together in this folder, instead of your system’s usual folders.

NO_COLOR

Turns colour off, like --color never.