Command-line interface for patching Yandex Music with TheKing-OfTime's modifications.
Download latest executable file for your system from latest release.
Install mod on Yandex Music.
ymmp patchAvailable options:
-t, --type <type>- Patch type:defaultordevtoolsOnly-p, --path <path>- Custom path to Yandex Music installation--token <token>- GitHub token for API requests-f, --force- Force close Yandex Music without prompting--no-cache- Force redownload of mod files--keep-cache- Keep cache after patching
Check if patching is possible.
ymmp checkAvailable options:
-p, --path <path>- Custom path to Yandex Music installation
Show information about installed mod.
ymmp infoAvailable options:
-p, --path <path>- Custom path to Yandex Music installation
Check for updates and install if available.
ymmp updateAvailable options:
--token <token>- GitHub token for API requests-f, --force- Force close Yandex Music if running
Manage cache.
ymmp cache --stats
ymmp cache --clearAvailable options:
-s, --stats- Show cache statistics-c, --clear- Clear cache
Manage configuration.
ymmp config
ymmp config set token <token>
ymmp config set path <path>Available actions:
list- Show current configuration (default)get <key>- Get configuration valueset <key> <value>- Set configuration value
Configuration file is stored at ~/.ymmp-config.json or in your default home folder on your OS.
Set GitHub token to avoid API rate limits.
ymmp config set token YOUR_TOKENCreate PAT token at https://github.com/settings/personal-access-tokens with Public repositories access enabled.
Set custom Yandex Music installation path.
ymmp config set path /path/to/yandex/musicDefault paths:
- Windows:
%LOCALAPPDATA%\Programs\YandexMusic - macOS:
/Applications/Яндекс Музыка.app - Linux:
/opt/Яндекс Музыка
Set up GitHub token.
ymmp config set token YOUR_TOKENClose app manually or use --force flag.
ymmp patch --forceRun command with elevated privileges.
Specify installation path.
ymmp patch --path /your/custom/pathbun install
bun run buildbun run dev- YandexMusicModPatcher - Took some code references from original patcher
- YandexMusicModClient - Modification source