# Lutris
> Open gaming platform for Linux with CLI support

## Summary
An open-source Linux gaming platform with a CLI for managing games across emulators, Wine, and native runners.

## Capabilities
- Install and manage games from multiple platforms (Steam, GOG, Humble Bundle, etc.)
- List installed games, runners, and Wine versions from the CLI
- Install games from YAML-based installer scripts
- Run games with the Lutris runtime from the command line
- Import and export game libraries
- Generate standalone launch scripts for games

## When to Use
- Managing a Linux gaming library across multiple platforms
- Running Windows games on Linux via Wine or Proton
- Automating game installations with scripts
- Listing and launching games from the terminal

## When NOT to Use
- You are on Windows or macOS
- You only play native Steam games (use Steam directly)

## Usage Patterns
### List all installed games
```
lutris -l
```
Lists all games registered in Lutris

### Install a game from a script
```
lutris -i game-slug
```
Installs a game using its Lutris installer script

### List installed Wine versions
```
lutris --list-wine-versions
```
Shows all Wine/Proton versions available to Lutris

### List games as JSON
```
lutris -l -o json
```
Outputs installed games in JSON format for scripting

## Input / Output
- **stdout**: Game listings, installation progress, or JSON output

## Installation
- **apt**: `sudo apt install lutris`
- **pacman**: `sudo pacman -S lutris`
- **flatpak**: `flatpak install flathub net.lutris.Lutris`

---
Source: https://littlescripts.sh/tools/lutris
