CLI Usage
This section documents protondl's command-line interface (CLI).
The CLI generates human-readable output. For integration into other tools, use the Library API (Python).
Install from GitHub
Run the following command to install the latest version of protondl from GitHub. This installs protondl, including optional dependencies (rich, typer) required by the CLI.
Basics
Below is a documentation of basic commands. Run the following command to get an overview of all commands:
List installed launchers
Run the following command to list all installed launchers. It will provide an overview, including the install mode (native, Flatpak, ...) and the launcher's root path. Some commands require you to specify a launcher. Use the ID from the list to reference the launcher.
After running the command, you should get an output like this:
Detected Launchers
┏━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ID ┃ Launcher Name ┃ Mode ┃ Root Path ┃
┡━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ 1 │ Steam │ native │ /home/user/.local/share/Steam │
│ 2 │ Lutris Flatpak │ flatpak │ /home/user/.var/app/net.lutris.Lutris/data/lutris │
│ 3 │ Heroic Flatpak │ flatpak │ /home/user/.var/app/com.heroicgameslauncher.hgl/config/heroic │
└────┴────────────────┴─────────┴───────────────────────────────────────────────────────────────┘
GitHub API Token
Many of the compatibility tools supported by protondl rely on GitHub for hosting their releases. If you are installing many tools or use a shared internet connection, you may run into GitHub's API usage limit. A way to circumvent this problem is to use an Access Token to identify with GitHub using your account.
See here for more information: https://github.com/DavidoTek/ProtonUp-Qt/wiki/GitHub-and-GitLab-API-Tokens
You may specify your API token like this: