


| Features | Requirements | Usage | Changelog |
|---|
A simple mod manager written in Bash for Linux users.

The following programs should be installed:
sudo pacman -S curl gawk jq p7zip sed
sudo dnf install curl gawk jq p7zip sed
sudo apt-get install curl gawk jq p7zip-full sed
r2mod is available in the Arch AUR as r2mod_cli
yay -S r2mod_cli
Extract the zip and run sudo make install inside its directory.
It is heavily recommended to run r2mod setup to create a new install.
Some empty folders will be placed in the BepInEx/plugins dir, do not remove them.
They are used to track updates for certain mods.
The default install directories for Steam/Flatpak should automatically be handled.
If you've installed Risk of Rain 2 to a different location, please export the environment variable
$R2MOD_INSTALL_DIR in your bash profile and point it to your install directory:
export R2MOD_INSTALL_DIR="$HOME/custom/dir/Risk of Rain 2"
$R2MOD_COMPAT_DIR also exists for custom locations of Steam's compatdata directory.
export R2MOD_COMPAT_DIR="$HOME/custom/dir/steamapps/compatdata/632360"
Accepts shorthand for command names.
r2mod ch(eck): Check for Script Updates
r2mod dis(able) (Mod-Dependency-String): Disable Mods
r2mod ed(it) ConfigName: Edit Mod Configs
r2mod en(able) (Mod-Dependency-String): Enable Mods
r2mod exp(ort) ProfileName: Export r2modman mod profile
r2mod hol(d): Toggle Mod Updates
r2mod imp(ort) ProfileCode: Install r2modman mod profile
r2mod ins(tall) Mod-Dependency-String: Install New Mod
r2mod li(st) (count|all) : List or Count Installed Mods
r2mod ref(resh): Force Refresh Package Cache
r2mod run: Launch Risk of Rain
r2mod sea(rch): Search for Mods
r2mod set(up): Install a Fresh BepInEx Setup
r2mod un(install) Mod-Dependency-String: Uninstall Mod
r2mod upd(ate): Update All Exisiting Mods
r2mod ver(sion): Print Version"
r2mod install ontrigger-ItemStatsMod-2.0.0 to install a mod.
If the version number is left out, the most recent version will be installed.
r2mod install ontrigger-ItemStatsMod
Multiple mods can also be installed
r2mod install ontrigger-ItemStatsMod MagnusMagnuson-BiggerBazaar
Use r2mod uninstall ontrigger-ItemStatsMod-2.0.0 to install a mod.
If the version number is left out, any version of that mod will be uninstalled.
r2mod uninstall ontrigger-ItemStatsMod
Multiple mods can also be uninstalled
r2mod uninstall ontrigger-ItemStatsMod MagnusMagnuson-BiggerBazaar
r2mod disable to disable BepInEx entirely.
r2mod enable to re-enable.
r2mod disable ontrigger-ItemStatsMod-2.0.0 to disable a specific mod.
r2mod enable ontrigger-ItemStatsMod-2.0.0 to re-enable.
r2mod list to display installed mods.
r2mod list all to display installed mods and disabled mods.
r2mod list count to display a count of installed mods.
r2mod list count all to display a count of installed mods and disabled mods.
$EDITOR environment variable is used to determine which editor to use.
r2mod edit will open all BepInEx config files in your editor
r2mod edit name will open all matching configs (case insensitive, incomplete names are fine)
Mods can be prevented from being auto updated by running r2mod hold ModName.
Run again to remove the hold.
Updates for r2mod will be automatically checked, but not installed.
Installing r2mod updates can be done like any other mod:
r2mod install Foldex-r2mod_cli
All Files, Old Versions, and Backups can be found in /tmp/r2mod
ror2mm:// linksimport previewlist now uses color=autolist count commandls aliasremove for uninstall