Skip to main content

Prerequisites

Before installing mod-tools CLI, ensure you have the following:
  • Access to the cslol-manager source repository
  • CMake 3.20 or higher
  • C++ compiler with C++20 support (MSVC, GCC, or Clang)
  • Git
  • League of Legends installation (for game-specific operations)

Building from Source

The mod-tools CLI is part of the cslol-manager project and is built with CMake:
1

Clone the repository

git clone https://github.com/LeagueToolkit/cslol-manager.git
cd cslol-manager
2

Create build directory

mkdir build
cd build
3

Configure and build

cmake ..
cmake --build . --config Release
The compiled binaries will be located in the build output directory (platform-dependent).

Installation

After building, you can install the CLI globally:

Linux/macOS

# Copy to a directory in your PATH
sudo cp build/cslol-tools/mod-tools /usr/local/bin/

# Make it executable
sudo chmod +x /usr/local/bin/mod-tools

Windows

The Windows build includes pre-built binaries. After building or downloading a release:
# The tools are in the build output or release directory
# Add the directory to your PATH or copy to a system location
The easiest way to use the CLI tools on Windows is to run them from the cslol-manager installation directory, where they’re included with the application.

Verifying Installation

Verify the installation by running:
mod-tools --help
You should see a list of available commands and options.

Next Steps

Once installed, you can start using the CLI commands:

Build docs developers (and LLMs) love