foundry alias
Create short aliases for Foundry commands. Each alias writes a shim binary so you can invoke it directly from your shell.
Subcommands
| Subcommand | Description |
|---|
list | List configured aliases |
set <name> <command…> | Create or update an alias and write its shim |
remove <name> | Remove an alias and its shim |
Options
| Flag | Description |
|---|
--bin-dir | Where to write (or find) the shim. Defaults to the packaged dir, the env Scripts dir, or LOCALAPPDATA. |
Examples
foundry alias set fr run # 'fr' → 'foundry run'
foundry alias set fd run dev # 'fd' → 'foundry run dev'
foundry alias list
foundry alias remove fd