Epic Games titles have internal app names that are often opaque strings — sometimes a short codename likeDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/legendary-gl/legendary/llms.txt
Use this file to discover all available pages before exploring further.
Eider (HITMAN 3), sometimes a long alphanumeric hash like 9d2d0eb64d5c44529cece33fe2a46482. Typing these exactly every time you want to install or launch a game is tedious and error-prone. Legendary’s alias system solves this by letting you refer to any game using short, memorable names. Aliases are resolved transparently — every command that accepts an app name (install, launch, uninstall, verify, move, info, and others) will accept an alias in its place.
Auto-Generated Aliases
Unless disabled, Legendary automatically generates a set of aliases for every game in your library and caches them in~/.config/legendary/aliases.json. These are regenerated whenever your game list changes. Auto-generated aliases are always lowercase and include several variants derived from the game’s title:
- The full lowercase title (e.g.
world of goo) - The title with special characters removed (e.g.
world of goo) - A no-spaces version (e.g.
worldofgoo) - Initials / abbreviation (e.g.
wog) - Roman numerals replaced with digits (e.g.
gta5for Grand Theft Auto V) - The first word longer than one character that is not “the”, “of”, or “for”
- The game’s folder name, if different from the title
- The lowercase Epic app name itself
:), aliases are also generated from the part before the colon.
When two different games would produce the same auto-generated alias (a collision), that alias is dropped from the automatic list entirely. It will not be assigned to either game. You can still create a custom alias for one of them manually.
disable_auto_aliasing = true in the [Legendary] section of your config.ini:
Custom Aliases
You can define your own aliases in the[Legendary.aliases] section of config.ini. Each line maps an alias to an exact Epic app name:
Managing Aliases with legendary alias
Legendary provides an alias subcommand with four actions so you can manage your custom aliases without editing config.ini by hand.
legendary alias add
Add a new custom alias for a game. The app name argument also accepts an existing alias or partial title match.
legendary alias rename
Rename an existing custom alias. This only works on aliases stored in [Legendary.aliases]; auto-generated aliases cannot be renamed (create a custom alias instead).
legendary alias remove
Remove a custom alias from [Legendary.aliases].
legendary alias list
List aliases. Without an argument, prints all user-defined aliases from [Legendary.aliases]. With a game’s app name or alias, prints both user-defined and automatically generated aliases for that specific game.
legendary alias list Eider:
Using Aliases in Commands
Once an alias exists (either custom or auto-generated), you can use it anywhere an app name is accepted:Aliases containing spaces must be quoted in your shell. For example:
Alias Resolution Order
When you provide a name to a Legendary command, it is resolved in this order:- Exact app name match — checked first; if the string is a known app name, it is used directly.
- Custom alias — looked up in the
[Legendary.aliases]section ofconfig.ini. - Auto-generated alias — looked up in the in-memory alias table loaded from
aliases.json. - Original string — if no alias matches, the string is used as-is (will fail if no such app exists).
Related Pages
Config File Reference
Full reference for all config.ini sections, including [Legendary.aliases].
legendary alias command
Complete command reference for legendary alias add, rename, remove, and list.
legendary list
Find exact Epic app names to use when creating aliases.