This will download Pony Diffusion V6 from civitai to ./models/checkpoints/[email protected] and generate a models.yml file to reinstall models.
# Generate this on the CIVITAI website and set it in your environment
export CIVITAI_TOKEN="token"
mpm add [email protected]
# Or directly from CivitAI URLs (--name is optional)
mpm add "https://civitai.com/models/257749" --name [email protected]
mpm add "https://civitai.com/api/download/models/290640?type=Model&format=SafeTensor&size=pruned&fp=fp16" --name [email protected]# Will check the latest version and download it
mpm add ponyIf you have a perviously generated models.yml file
checkpoints:
pony: 6.0.0
hassaku: 1.3.0-a
loras:
genesis: 1.0.0Then you can just run
mpm installOn Linux or MacOS download the latest binary in the GitHub releases then run it from your terminal.
Alternatively, you can use the following install script on Linux, MacOS and Windows (via Git Bash). Re-running the script updates the version.
# Linux/MacOS - Installs to $HOME/.local/mpm
# Windows - Installs to C:\Users\username\.local/mpm
# Manually add the install path to $PATH (.zshrc, .bashrc) or Windows Environment Manager
eval $(curl -sSf "sh.davidalsh.com/mpm.sh" | sh -s)
mpm --help